Yes, you do need a prescription to buy contact lenses for astigmatism. Contact lenses are medical devices, and their use without proper professional guidance can pose risks to eye health. An eye care professional, typically an optometrist or ophthalmologist, must conduct a comprehensive eye examination to determine your prescription, including the specific requirements for astigmatism correction.