Yes, you can take a cake through airport security in 2026, as it is classified as a solid food item. However, the "frosting factor" is critical: if the cake has thick layers of liquid-like fillings, jellies, or heavy cream frosting, TSA or international security agents may subject it to additional screening to ensure it complies with the 3.4-ounce (100ml) liquid rule. To ensure a smooth process, it is best to pack the cake in a sturdy, transparent container and be prepared to remove it from your bag for X-ray inspection. If the frosting is exceptionally "gel-like," security may designate it as a liquid, so choosing a relatively "dry" or traditional sponge cake is the safest bet for carry-on travel.