در قانون حضانت و نگهداری طفل حق و تکلیف قانونی پدر و مادر است. هیچکدام از پدر و مادر درصورتیکه حضانت فرزند را برعهده داشته باشند، اجازه امتناع از نگهداری را ندارند و درصورت امتناع یکی از طرفین دادگاه در مورد ادامه حضانت فرزند تصمیم میگیرد.
با تشکیل خانواده و زندگی مشترک زوجین، زن و شوهر هر کدام مسولیت انجام کارهایی را خواهند داشت ولی تاثیر رابطه نامشروع زن بر حضانت فرزند، نکته مهمی است که به مرور زمان حایز اهمیت میگردد.
در حقوق، به اقتدارِ قانونیِ شخص برای نگهداری و تربیت فرزند، حق حضانت فرزند گفته میشود.
طبق ماده ۱۱۶۸ قانون مدنی، نگهداری از فرزندان هم حق و هم تکلیف پدر و مادر است. بر این اساس نمیتوان حق نگهداری و تربیت فرزند را بدون دلیل موجه و حکم دادگاه از پدر و مادر سلب کرد.
حضانت، نگهداری و مراقبت جسمی، روحی، مادی و معنوی اطفال و تعلیم و تربیت آنان محسوب میشود.