Medically necessary liquids and baby formula are the exception. You can bring larger amounts, but you must declare them to the officer at the checkpoint. Just be prepared for a quick extra screening—it’s a tiny price for peace of mind.
Carrying liquids on a plane know the rules – Artofit
Also, if you buy a giant bottle of water after security, that’s yours to keep. The rules only apply before you pass through the checkpoint. One more reason to celebrate that overpriced airport latte!