"In-A-Gadda-Da-Vida" by Iron Butterfly (1968) runs 17:05 on the original album version (In-A-Gadda-Da-Vida), making it the longest widely recognized classic-rock track.
The 2:52 single edit was a hit, but the full version—featuring extended drum solo (Ron Bushy), organ solo (Doug Ingle), and hypnotic riff—defined the "epic jam" side of late-'60s psychedelic rock.
Honorable mentions (studio tracks): "Close to the Edge" – Yes (18:43, but multi-movement suite); "Supper's Ready" – Genesis (22:54, suite); "Thick as a Brick" – Jethro Tull (43:46, single-track album). Iron Butterfly's track stands as the longest single-composition classic-rock song.