The short answer
For feeders, plain sugar water is the food experts most often recommend. The National Zoo’s recipe uses one part refined white sugar to four parts water. Sugar water is not a complete diet, though. Hummingbirds also get protein and other nutrients from small insects and spiders, and from flowers.
How to make it
Use regular refined white sugar. The National Zoo says powdered sugar is not recommended because it often contains cornstarch. Tap water is fine. Stir or shake the mixture until the sugar has fully dissolved.
Is it necessary to boil sugar water for hummingbirds? According to the National Zoo, no. Some feeding guides suggest boiling the water first to reduce microbes, so it is a reasonable step for anyone who wants to do it, but it is not required.
What to leave out
Why is there no red dye in hummingbird food? No study has shown that the dye is safe for hummingbirds, and it is not needed. Cornell Lab guidance points out that the colored parts of a feeder do the attracting, not the liquid. Some ready-made nectar products contain red dye, so check the label.
Is honey water better than sugar water for hummingbirds? No. The National Zoo advises never to use honey, corn syrup or raw, unprocessed sugars. Artificial sweeteners are also best avoided, since Cornell feeding guidance warns they can add ingredients that may harm the birds.
What sugar water cannot provide
Nectar is mostly sugar. Small insects and spiders supply protein, fats and other nutrients that nectar lacks. Mother hummingbirds bring insects to their young, and nestlings need that protein to grow.
Native flowers that produce nectar also give hummingbirds a natural food source, along with the insects that visit them. Garden pesticides can reduce those insects, so skipping them helps.
What do hummingbirds eat if there are no feeders? The answer leans on flowers and insects, the same natural foods covered above.
Keeping the food fresh
The National Zoo recommends changing the feeders every other day and cleaning them thoroughly each time, to prevent harmful mold. In hot weather, clean and refill at least twice a week. In cooler weather, once a week is enough. Extra nectar can be refrigerated for up to one week. Discard any that shows mold.
Feeder placement and cleaning are part of setting up a hummingbird feeder properly, not just the mix. Getting the hummingbird food proportions right is the first step, and keeping the feeder clean comes next.