Q. I know it’s not good to eat close to bedtime, but I get hungry. What are the least harmful things I can eat — or drink — say, an hour or two before going to bed?

A. It’s hard to resist late-night cravings, but try to limit your bedtime nosh to 100 or 200 calories, 300 calories tops, said Isabel Maples, a spokeswoman for the Academy of Nutrition and Dietetics, and choose nutrient-rich items that may be lacking in your diet, like fruits and vegetables, low-fat dairy foods, whole grains or nuts, “to really make those calories count.” (Seafood and beans are other good options, but not particularly appealing before bed.) Keep in mind that snacking contributes to weight gain, and studies have found that nearly one-quarter of the calories we eat come from snacks.

A banana, apple or other fresh fruit, a small portion of low-fat cottage cheese or plain yogurt with sliced fruit, or oatmeal or some other high-fiber cereal with skim milk were frequent suggestions made by experts interviewed for this article.

Other suggestions included raw veggie sticks, a couple of whole grain crackers with a small slice of cheese, a handful of almonds or other nuts, or celery sticks spread with a tablespoon or two of peanut butter or almond butter (measure the nuts and butters — don’t eat them straight out of the container).