Jesus was about 30 years old when he was baptized by John the Baptist. This is based on the Scripture in Luke 3:23, which says that Jesus was "about thirty years of age" when he began his ministry, which started with his baptism. The baptism marked the beginning of his public ministry, following which he went into the wilderness to be tempted before fully commencing his work.
