Ramdev was being questioned by customs officials as he came here on a visitor visa instead of a business visa, sources said.
Some media reports also said that Ramdev was questioned about certain medicines he was carrying with him.
More From This Section
Ramdev's spokesman S K Tejarawala described as "baseless" that he was being questioned on carrying some medicines.
"It was not clear why the Yoga guru was detained for over six hours at Heathrow. He was not carrying anything with him except a small bag of personal effects. It is for the British authorities to explain why he was detained," Tejarawala told PTI.
He said Ramdev has been cleared to go into the city.
Ramdev went to London to attend a function organised by the Patanjali Yogpeeth on the 120th anniversary of Swami Vivekanand in the next couple of days.