This may also help to deter snakes. Bluebirds are really grassland birds. It is difficult to attract them to urban or heavily wooded property. Most bluebirds prefer open fields with one or two large oak trees, pastures, vineyards, old orchards or large mowed yards with selected medium-sized trees for nest guarding. Nest boxes should be placed out in the open on fence posts or metal poles not nestled into groves of trees.
Bluebirds are primarily insect eaters.
They do like berries, but they are rarely attracted to the typical bird feeding stations that offer a variety of seeds. Bluebirds feed primarily on the ground-like the robin, to whom they are related. They like spiders, crickets, ants, grubs and small worms. Once bluebirds start nesting, you can offer mealworms to help the parent birds feed their nestlings during cold, rainy weather. The most effective way to attract bluebirds is planting native berry producing plants.