But remember, they're considered as a liquid. So while packing them, follow the governed TSA liquids rule for carry-on luggage. All your shaving cream, gel, and lotions are to be placed in containers of 3.4 ounces (100 ml) in one single quart-sized plastic ziplock bag (1 liter) for carry-on bags.