The states that made medical marijuana legal also allow CBD for recreational use as well. On the flip side, there are some states that forbid using marijuana but allow using CBD for certain situations.
There was enormous progress to legalize CBD products thanks to the Farm Bill in 2018 as it removed hemp from being listed as a controlled substance under the Controlled Substances Act. Now hemp can be grown in the US legally.
Simply put, CBD is legal in 50 states. Laws can however, differ from state to state. They can determine what kind of CBD products are legal and which ones are not.