A cosmetic container having a container body for receiving cosmetics and a
cap having a cap body, an outer tube, and an inner tube. A first spring
for urging the outer tube rearward is installed between the cap body and
the outer tube. A second spring for urging the cap body forward is
received in the inner tube. A shaft section with an application section
is projectingly formed on the inner tube. An engagement groove is
provided in the container body, in the outer peripheral surface near its
head. A locking ball reception hole and a locking ball received in the
hole are provided on the cap body. A restriction projection for
restricting the locking ball from moving outward is provided inside the
outer tube. The locking ball projected inward by the restriction
projection fits in the engagement groove, and the cap is installed on the
container body.