A federal crime is an offense that violates U.S. federal or state laws together, typically involving federal agencies and crossing state lines or international borders. It encompasses a wide range of activities, such as drug trafficking, immigration violations, and financial fraud.