The pill is not recommended for children but it’s commonly prescribed for adults who have sleeping problems. The exact Ambien dosage is decided by your doctor and the reason for which it’s prescribed.