Michigan Governor Gretchen Whitmer had ordered the state ban in September, declaring that teenagers' use of e-cigarettes, known as vaping, was a public health emergency.
Judge Cynthia Diane Stephens of the Michigan Court of Common Claims said that vaping was a public health concern, but agreed with the retailers that there was likely no basis for the governor to use her emergency powers.
Whitmer's office had no immediate comment.