Philip, the Duke of Edinburgh, was admitted on Tuesday to the King Edward VII Hospital in London which is regularly used by the royals.
"The Duke of Edinburgh has undergone a successful hip replacement operation. He is progressing satisfactorily at this early stage," the palace added in a statement.
"His Royal Highness is likely to remain in hospital for several days," it added. "He is comfortable and in good spirits."
He also missed the Easter Sunday service traditionally attended by the royal family at St George's Chapel in Windsor to the west of London, where his grandson Prince Harry is due to marry U.S. actress Meghan Markle next month.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.