Question: how long does it take to get through customs in miami airport?
Answer: Just this part takes 20 minutes - plus 40 mins for immigration, and custom. Don't rush to clear immigration anyway, since it takes a little while for the baggage to come. If you are a US citizen or the lines are not that long, you will most likely have to wait for your luggage.