Pajama pants are generally not allowed in school because they are considered too casual and not appropriate for the school environment. Additionally, wearing pajama pants can be seen as a distraction and can be disruptive to the classroom atmosphere.