Lord Tim Bell, the leading PR and advertising figure who was a close adviser to Baroness Thatcher, said she was expected to need several days of recuperation.
It could well mean she will spend Christmas in hospital, where she has been accompanied by her daughter Carol. Her son is believed to be on holiday overseas.
Lord Bell said the former politician had been in some pain earlier in the week and was sent by her doctor to hospital where it was decided the operation was required.It was a short procedure using what was described as "minimally invasive surgery", he said."She's fine," he added.
More top news
It'll become increasing cloudy tonight, with outbreaks of rain in the northwest
Six months on from the referendum, Political Editor Robert Peston takes a road trip to find out what people feel about Brexit now.
Donald Trump has been criticised for appointing a man who once sued the Environmental Protection Agency to be its new boss.