In the United States, a federal crime or federal offense is an act that is made illegal by U.S. federal legislation. Prosecution happens at both the federal and the state levels (based on the Dual sovereignty doctrine); thus a “federal crime” is one that is prosecuted under federal criminal law, and not under a state's criminal law, under which most of the crimes committed in the United States are prosecuted.
This includes many acts that, if they did not occur on U.S. federal property or on Indian reservations or were not specifically penalized, would otherwise not be crimes or fall under state or local law. Some crimes are listed in Title 18 of the United States Code (the federal criminal and penal code), but others fall under other titles; for instance, tax evasion and possession of weapons banned by the National Firearms Act are criminalized in Title 26 of the United States Code.
Numerous federal agencies have been granted powers to investigate federal offenses, include the Bureau of Alcohol, Tobacco, Firearms, and Explosives, the Drug Enforcement Administration, the Federal Bureau of Investigation, the U.S. Immigration and Customs Enforcement, the Internal Revenue Service, and the Secret Service.
Other federal crimes include mail fraud, aircraft hijacking, carjacking, kidnapping, bank robbery, child pornography, credit card fraud, identity theft, computer crimes, violations of federal hate crimes, violations of the Federal Racketeer Influenced and Corrupt Organizations Act (RICO), obscenity, tax evasion, counterfeiting, violations of the Espionage Act, violations of the Patriot Act, illegal wiretapping, art theft from a museum, damaging or destroying public mailboxes, immigration offenses, and since 1965 in the aftermath of the President John F. Kennedy's assassination, assassinating the President or Vice President.
In drug-related federal offenses mandatory minimums can be enforced. Federal law is implicated when a defendant manufactures, sells, imports/exports, traffic, or cultivate illegal controlled substances across state boundaries or national borders. A mandatory minimum is a federally regulated minimum sentence for offenses of certain drugs.
Prosecution guidelines are established by the United States Attorney in each federal judicial district and by laws that Congress has already established.