It is said that the TSA is extremely strict about quart-size bags. If your carry-on toiletry bag is sized even a little more than the quart size, you won’t be able to pass through security.