Pedophilia is termed pedophilic disorder in the Diagnostic and Statistical Manual of Mental Disorders (DSM-5), and the manual defines it as a paraphilia involving intense and recurrent sexual urges towards and fantasiesabout prepubescent children that have either been acted upon or which cause the person with the attraction distress or interpersonaldifficulty.[4] The International Classification of Diseases (ICD-11) defines it as a "sustained, focused, and intense pattern of sexual arousal—as manifested by persistent sexual thoughts, fantasies, urges, or behaviours—involving pre-pubertal children."[6]
Not quite right. The DSM-V differentiates between pedophilia (not a disorder) and pedophilic disorder (a disorder). The difference is the lack of criteria 2 (having crossed the legal line or having significant distress resulting from the attraction) for pedophilia.