"Deb said to get the mark on my nose checked. Boy, was she right!" he wrote on Instagram, referring to his wife, Deborra-Lee Furness.
The 45-year-old Oscar-nominated Jackman said he had a basal cell carcinoma, a common form of skin cancer that is rarely fatal. The note he posted early Friday didn't say when his medical treatment took place.
"Please don't be foolish like me. Get yourself checked. And USE sunscreen!!!" he wrote.
Australia has the highest skin cancer rate in the world, and two in three Australians will be diagnosed before age 70, according to the national health department.
Jackman is an advocate for cancer research. He has revealed that when he asked his mother-in-law Fay Duncan - president of the Fight Cancer Foundation in Australia - for her blessing when he proposed to Furness, she told him that supporting the fight against cancer was one of the requirements to get that blessing.