mid-15c., from hay + stack (n.).
hayloft
haymaker
hayrick
hay-ride
hayseed
haystack
Hayward
haywire
hazard
hazardous
haze