No, batteries are not necessary for a grid-tied solar power system, but they can provide backup power in case of a power outage.