In Pennsylvania, the age of consent for sexual relations is 16 years old. This applies across the board, to males and females, and to heterosexual as well as homosexual conduct.
Like many other states, Pennsylvania’s age of consent laws make allowances for adolescents who are under the age of consent, but close to the same age. Anyone between the ages of 13 and 16 can consent to have sex with anyone else who is no more than 4 years older.
Pennsylvania’s age of consent laws carry fairly stiff penalties. Some of the more severe violations carry prison terms of up to 20 years. If you feel you may have violated by having sex with an underage minor, you may want to consult with a Pennsylvania criminal defense lawyer to determine what steps you need to take to avoid prosecution and having to register as a sex offender.