A cosmetic container, wherein a housing comprises an upper lid and a lower lid, one side of the upper lid and one side of the lower lid are hinged to each other, the other side of the upper lid and the other side of the lower lid each are an open side, and the open side is configured to be locked and unlocked; a powder tray, wherein the powder tray and a pump seat are fixedly combined and form an annular chamber, cosmetic powder is provided in the annular chamber, a piston seals and covers an opening of the annular chamber, the piston is configured to slide on an inner wall of the annular chamber in a sealing manner, a pump body is nested in a center of the pump seat, a unidirectional pump valve communicated with the annular chamber is provided at a bottom of the pump seat, the pump valve is configured to allow the cosmetic powder to only flow out of the annular chamber unidirectionally; and an inner lid detachably covering an upper aperture of the lower lid, wherein the inner lid and the lower lid are fixed relatively, the powder tray and the pump seat are axially and movably limited in a space under the inner lid, a powder outlet is formed in a top of the inner lid, a pump pressure rod is fixedly provided at a bottom of the inner lid, the pump pressure rod is configured to move along an axial direction in an inner ring of the pump seat, a hollow pump connecting rod is fixedly provided in a center of the pump pressure rod, a side of the hollow pump connecting rod away from the inner lid is provided with a powder inlet, the powder inlet is communicated with a hollow portion of the hollow pump connecting rod, the powder outlet is communicated with the powder inlet through the hollow portion of the pump connecting rod, an end of the pump connecting rod away from the inner lid is provided with a limit protrusion, a pump piston is slidably sleeved on the pump connecting rod, the limit protrusion is configured to stop the pump piston from sliding out of the pump connecting rod, the pump piston is configured to close and open the powder inlet, the inner ring of the pump seat is slidably sleeved on the pump piston, a pump spring is further provided, one end of the pump spring elastically abuts against the pump pressure rod, and the other end of the pump spring is fixed; and characterized in that it further comprises an oblique protrusion is provided at a bottom of the powder tray; and a button assembly comprising a button seat, a button spring, and a button, wherein the button seat is provided at a bottom of the lower lid, the button is slidably provided on the button seat, one end of the button is provided in the open side of the lower lid, the other end of the button is configured to stretch into a space under the oblique protrusion, and the button spring is provided between the button seat and the button. a powder tray, wherein the powder tray and a pump seat are fixedly combined and form an annular chamber, cosmetic powder is provided in the annular chamber, a piston seals and covers an opening of the annular chamber, the piston is configured to slide on an inner wall of the annular chamber in a sealing manner, a pump body is nested in a center of the pump seat, a unidirectional pump valve communicated with the annular chamber is provided at a bottom of the pump seat, the pump valve is configured to allow the cosmetic powder to only flow out of the annular chamber unidirectionally; and an inner lid detachably covering an upper aperture of the lower lid, wherein the inner lid and the lower lid are fixed relatively, the powder tray and the pump seat are axially and movably limited in a space under the inner lid, a powder outlet is formed in a top of the inner lid, a pump pressure rod is fixedly provided at a bottom of the inner lid, the pump pressure rod is configured to move along an axial direction in an inner ring of the pump seat, a hollow pump connecting rod is fixedly provided in a center of the pump pressure rod, a side of the hollow pump connecting rod away from the inner lid is provided with a powder inlet, the powder inlet is communicated with a hollow portion of the hollow pump connecting rod, the powder outlet is communicated with the powder inlet through the hollow portion of the pump connecting rod, an end of the pump connecting rod away from the inner lid is provided with a limit protrusion, a pump piston is slidably sleeved on the pump connecting rod, the limit protrusion is configured to stop the pump piston from sliding out of the pump connecting rod, the pump piston is configured to close and open the powder inlet, the inner ring of the pump seat is slidably sleeved on the pump piston, a pump spring is further provided, one end of the pump spring elastically abuts against the pump pressure rod, and the other end of the pump spring is fixed; and characterized in that it further comprises an oblique protrusion is provided at a bottom of the powder tray; and a button assembly comprising a button seat, a button spring, and a button, wherein the button seat is provided at a bottom of the lower lid, the button is slidably provided on the button seat, one end of the button is provided in the open side of the lower lid, the other end of the button is configured to stretch into a space under the oblique protrusion, and the button spring is provided between the button seat and the button.