In and of itself, adultery is not a reason to deny the offending parent custody.  As a general rule, the court will make child custody decisions based solely on the best interests of the child. The parents each have equal rights with respect to being awarded custody.The court will consider several factors in making a custody determination, including but not limited to:Circumstances of the spousesNature of the caseReligious faith of parents and childWelfare of the childBest spiritual and other interests of the childChild's preference for custody based upon child's age, experience, maturity, judgment and ability to express preferenceIf the adultery affects any of the above factors, then that may play a role as to who gets custody.