The invention discloses a shared mother and child room with a convenient payment function, which comprises a mother and baby room body, a top plate and a security door, wherein the top plate is arranged at the top of the mother and baby room body, a solar panel is arranged at the top of the top plate, a desk is arranged inside the mother and baby room body, an emergency button is arranged on one side of the desk, a trash can is arranged at the bottom of the desk, a seat is arranged on one side of the mother and child room body near the desk, a charge pal is arranged at the top of the seat, a heat sink is arranged at the top of the charge pal, a heating device is arranged on the other side of the mother and child room body, a timer is arranged at the bottom of the heating device, a controller is arranged at the bottom of the timer, a camera is arranged at the top of the security door, an alarm is arranged on one side of the camera, the security door is provided with a door lock, a two-dimensional code scanning area is provided on the outer part of the security door, a mobile phone client scans the two-dimensional code of the two-dimensional code scanning area, then the lock is opened, and the timer records the usage time to realize on-line timing payment of the shared mother and baby room body. The shared mother and child room has reasonable design and is suitable for popularization.