It depends on the state and within the state who is doing the selling. If it's an inspected and certified dairy, in most if not all the states it's legal to sell it. The catch is for someone with a cow (or goat) in the backyard, not inspected or certified, selling raw milk to the the public. The public may be neighbors, friends, at the farmers market or whatever. Some states have prevented those types of sales even if the person buying the milk is the owner of the animal, owner on aper but it really is someone elses, selling it supposedily for "pets" only, or whatever. A lot of these regs started back in the 50-60s era to get around milk quality/sanitation problems. From some of the environments I've seen at home milking facilitys I wouldn;t feed the stuff to a calf let alone use it for human consumption.
dun