Both open candy and closed candy are permitted on a plane as long as it is in solid form and follows the TSA's 3-1-1 liquids rule. For open candy not purchased at the airport or candy that is not in its original packaging, as a general rule, it is best to pack it in a clear resealable bag.