Treasurer Scott Morrison is on the mend after emergency surgery, for an undisclosed ailment, in Canberra Hospital.

The senior Liberal frontbencher posted the news on Facebook on Saturday.

Treasurer Scott Morrison thanks "all the great staff at Canberra hospital's acute surgery ward, including Kim and Mwa in the photo". Credit:Facebook / Scott Morrison

He thanked staff in the hospital's acute surgery ward, "including Kim and Mwa", and the emergency department, saying he was on the road to full recovery and "heading back to the Shire".

He said he expected to return to Parliament in just over a week.

"Was also nice to get a welfare visit from the boss (Malcolm Turnbull) yesterday afternoon [Friday] to make sure I was on the mend," he wrote.

A spokesman for Mr Morrison would not say what he was treated for.

AAP, Fairfax Media