It's really hard to put an exact number on how long you need for your layover. At a minimum, I'd say you should plan for one hour for domestic layovers and two hours for international layovers. But this is not a hard, fast rule! If you have to go through security again on a domestic layover, you might need more time.