Give yourself a minimum of 1 hour if your flights arrive and depart from T1, T2, or T3. Remember, you need to clear security at the departure gate as well, assuming you already have all boarding passes and your bags are checked through. Clearing immigration and checking in again requires at least 3 hours.