Question: was the longest yard based on a true story

Answer: No, The Longest Yard is a 1974 American sports comedy film directed by Robert Aldrich, written by Tracy Keenan Wynn and based on a story by producer Albert S. Ruddy. The film follows a former NFL player (Burt Reynolds) recruiting the group of prisoners and playing football against their guards.