LONDON (CNN) -- Britain's Prince Philip, the husband of Queen Elizabeth II, was taken to Aberdeen Royal Infirmary in Scotland Wednesday after the recurrence of a bladder infection, Buckingham Palace said.
The 91-year-old Duke of Edinburgh first suffered the problem in June.
He has been admitted for "investigation and treatment" and is likely to remain in hospital for the next few days, the palace said.
The Duke of Edinburgh was taken to the hospital as a precautionary measure, the palace said earlier. He was staying at the royal residence in Balmoral, Scotland, where the queen traditionally spends part of the summer, UK media reports said.
Prince Philip has suffered a couple of health scares in the past year.
Prior to the bladder infection, which Prince Philip contracted in early June, during events marking the queen's diamond jubilee, he spent four nights in a hospital over the Christmas holiday last year for treatment of a blocked coronary artery.
However, he appeared in good form earlier this week as he fulfilled several engagements on the Isle of Wight, off the south coast of England.
The queen and the Duke of Edinburgh also gave a garden party at Balmoral Castle last week.
Philip's next scheduled public appearance is alongside the queen as she opens the London 2012 Paralympic Games on August 29.
He also appeared by her side at the opening ceremony for the Olympic Games at the end of July and accompanied her on a visit to the Olympic Park as the events got under way.
It has been a particularly busy year for the queen and Duke Of Edinburgh because of the many events held to celebrate her diamond jubilee.
Addressing parliament in March, the queen paid tribute to her husband as "a constant strength and guide" throughout her long reign.
The longest-serving consort in British history, Philip married then-Princess Elizabeth in November 1947 in Westminster Abbey.
Born the prince of Greece and Denmark on the Greek island of Corfu in 1921, Philip left Greece with his family when he was 18 months old after King Constantine was forced to abdicate the throne following a revolution. The family moved to Paris and then to England in 1928. Philip also went to school in Germany.
Philip renounced his Greek title when he became a naturalized British subject in 1947.