Like any new piece of technology, there are downsides to having solar panels on your roof, but the benefits massively outweigh them.
Solar panels can be expensive, their performance is subject to the weather, they don't work at night, and they don't break even for more than a decade – but electricity from the grid never breaks even.