Yeah the downspout goes into it. But it has a downspout diverter
[url]https://www.gardeners.com/Downspout-Diverter/Watering_RainBarrels,33-991,default,cp.html[/url]
So when the barrel fills up, the "overflow" just goes back down the downspout where it would have been any way.