The 40-year-old announced on Twitter that he would undergo the surgery, reported Aceshowbiz.
After the successful surgery, the actor tweeted, "Dr repaired 3 hernial tears (fun pain). Superman is on the mend."
Johnson's representative said that the star had an emergency hernia operation on April 22, forcing him to miss the Hollywood premiere of his new movie, 'Pain & Gain'. He is now recovering at home.
One day before the procedure, the wrestler had tweeted, "Saw my Dr who had to push my intestines back thru the tear in my abdomen. Kinda romantic. Surgery is next week. #BringItOn."