Growing rosemary in eastern Massachusetts
Rosemary is drought-tolerant and can be grown in pots. The wind is the culprit here as it dries out the leaves.
Be sure there is plenty of drainage. Rosemary does not like wet roots. In the summer you can plants it in the garden, dug it up in the fall and put in a pot with soil that will drain well. Keep on an enclosed unheated porch or in a room with no heat. It needs some sun light but does not require direct sun.
We keep ours in an unheated greenhouse and mulch with hay. The plant will bloom most of the winter there. Fertilize once a month with a good quality fertilizer like Neptune's Harvest. Trim as you need the rosemary for your recipes and to keep the plant full.