Gatenby is a secluded village and civil parish in the Hambleton district of North Yorkshire, England. It is situated about two miles east of the A1 road, near to the River Swale. Nearby is RAF Leeming. The population of the parish was estimated at 40 in 2010.
The place name is found in the Domesday Book as Ghetenesbi, the meaning is unclear, one interpretation is "goat's tongue ridge farm", a farm situated on a narrow ridge.
From the place name, there is a derivative English surname, see Gatenby (name).
Prior to the nationwide municipal reorganization of 1974, Gatenby was part of Bedale Rural District. Historically, it was located in the ecclesiastical parish of Burneston in the wapentake of Halikeld.