The old rule (100ml, 1 litre bag)
Since 2006, the global standard for cabin liquids has been containers of 100ml or less, all fitting inside a single transparent 1-litre bag, with one bag per passenger. The bag has to come out of your hand luggage at security. This is still the rule at the vast majority of airports worldwide.
The new rule (up to 2L, no bag, no removal)
Newer CT (computed tomography) scanners can see liquids in 3D and analyse what's in the container. Airports with full CT rollout can allow containers up to 2 litres and don't require you to remove liquids from your bag. Examples in 2024–2025 include London Gatwick, Edinburgh, Birmingham (some lanes), Bristol, Amsterdam Schiphol (some lanes), Rome Fiumicino (some lanes), and a handful of US airports.
Why the rule keeps flipping
Several airports have rolled the 2-litre rule back, often at the request of the national security regulator (e.g. the UK's DfT temporarily reinstating 100ml at newly-upgraded airports in 2024). Treat 2L allowances as 'nice when available, not guaranteed'.
The safe approach for a round trip
The rule that matters is the one at the airport you depart from. On a return trip you depart from two different airports. Pack to the stricter of the two so you don't lose anything on the way home — that's the rule Liquid Limits recommends by default.