The scene where the boys outrace a locomotive across a trestle was filmed at Lake Britton on the McCloud River Railroad, near McArthur-Burney Falls Memorial State Park, California.