Yes, hitching a ride on a train—often called "train hopping" or "freight hopping"—is illegal in the United States, Europe, and most other developed regions. In the U.S., it is primarily classified as trespassing on railroad property, which is a criminal offense. Railroad companies like Union Pacific and BNSF employ their own "Railroad Police" to patrol yards and tracks specifically to catch and remove stowaways. Beyond the legal consequences, which can include heavy fines or jail time, it is incredibly dangerous; thousands of people have been injured or killed attempting to board moving freight cars or by being crushed by shifting cargo. In 2026, modern security technology, including infrared cameras and motion sensors in rail yards, has made it even harder to "hop" a train without being detected. While romanticized in "hobo" folklore and social media "adventure" videos, the reality is a high-risk activity that involves breaking federal laws and risking life and limb for a mode of transport that is neither reliable nor comfortable.