The 96-year-old is being cared for at the King Edward VII Hospital in central London, where the procedure will take place on Wednesday.
It is the hope that Prince Philip will still be able to attend the royal wedding on May 19.
And in case you were unaware, or ever plan to meet Prince Philip and want to impress him too, it's key to know that Philip was born in Corfu, Greece, and was part of both the Danish and Greek royal families.
Officials declined to provide additional details about the surgery and said "further updates will be issued when appropriate".
The Duke of Edinburgh reportedly has had some health issues in the past.
Prince Philip has suffered from heart disease and other ailments in recent years, but has generally remained in good health.
The queen missed a traditional Christmas church service in late 2016 for the first time in decades due to a heavy cold and was hospitalized in March 2013 with symptoms of gastroenteritis.
According to Buckingham Palace, that two-day stint in the hospital was the result of an infection related to an unnamed "pre-existing condition".
He also missed the annual Maundy Service last Thursday because of his hip problem, despite being named as a guest in the order of service.
His sometimes blunt comments and off-the-cuff remarks have caused both shock and amusement. Prince Philip adopted the surname, Mountbatten, which was his mother's maiden name and became a British citizen.