Milan Malpensa Airport: The airport shuttle is the practical choice: Lugano Services, JetBus and Malpensa Express take roughly 1 hr 10 min to Lugano and cost about €25–30/CHF 35 one way; reserve if arriving at a busy time. The TILO cross-border train is more regular but takes about 1 hr 40 min and is better only if your flight timing lines up or you dislike coaches.
Zurich Airport: Take an SBB train via Zürich HB to Lugano; allow about 2 hr 15 min door-to-door to Lugano station, usually with one easy change. This is the sensible Swiss long-haul gateway, not a taxi or rental-car run over the Gotthard.
Milan Centrale railway station: Use the direct EuroCity/SBB service to Lugano; journey time is roughly 40–60 minutes. Buy the international ticket through SBB or Trenitalia and allow time for the border-crossing formalities only if you have goods to declare.
Lugano railway station: The station sits sharply above the centre. Take the Funicolare Lugano Città–Stazione down to the old town/lakefront: about 90 seconds, running frequently from early morning to late evening. With luggage, do not attempt the steep walk downhill—or especially uphill.