Question: how long does it take to clear customs and immigration at heathrow?
Answer: Unless you have something to declare, customs is a walk through that will take c 30 seconds unless you get stopped for a random search (unlikely). Immigration lines will take anything from 20 minutes to 2 hours, depending on how long the lines are at the time of your arrival.