We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is a Criminal Code?

By G. Wiesen
Updated Feb 15, 2024
Our promise to you
WiseGEEK is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At WiseGEEK, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

A criminal code is typically the set of laws established by a country, usually through the federal government, which governs the whole of that nation. As such, these laws vary among countries, and the way that federal laws can relate to state, province, or city laws is often dictated by the country in which the laws exist. A criminal code for a country can be established by that country’s constitution or other major document, and is typically explicitly stated for use in federal courts of law and as a source of legal authority.

Depending on the country, a nation’s criminal code can often override the individual laws of the various states or provinces within that country. Other nations may often allow the laws of local regions to override those established by the country’s criminal codes. In Canada, for example, the criminal codes are established by “An Act respecting the criminal law” that, among other things, indicates that polygamy is illegal. There are a number of situations, however, in different provinces throughout Canada of polygamous marriages being entered into legally. In these situations, though the criminal code of the country should override local practices, they instead allow such things to reinforce the mutable nature of the laws.

On the other hand, within the United States (US), the criminal code effectively overrides any state or local laws that contradict what is set down in federal law. This has led to a number of issues with things such as the legalization of marijuana. At a federal level, it is illegal to grow and sell marijuana, but several states have legalized the practice for medicinal purposes. This means that while someone can go through proper channels and legally grow marijuana at a state level, federal agencies can still arrest and charge someone with breaking the US criminal code.

A country’s criminal code can also often be reflective of the history of that nation. In Germany, for example, the rise of the Nazi regime prior to World War II has had a lasting impact on the country’s laws. German criminal code, referred to as the Strafgesetzbuch, has criminalized the display of symbols of unconstitutional organizations such as the Third Reich. This has made the Nazi Swastika an illegal image, and led to a number of video games and other types of entertainment being confiscated. These criminal codes have also established that it is illegal in Germany to deny the genocide committed by the Nazi party.

WiseGEEK is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Discussion Comments

By David09 — On Mar 05, 2012

@miriam98 - There are only a handful of states that allow medical marijuana. While the federal government still considers it an illegal substance, I doubt that they are just going to raid the establishments of doctors that use marijuana for medicine.

They might instead choose to raid drug dealer’s havens or things like that. I think this is the way that the federal government can maintain the balance of the struggle between federal and state laws on this issue. It should be clear to anyone whether marijuana is being used in a medical sense or not.

By miriam98 — On Mar 05, 2012

@allenJo - I didn’t know that in Germany you can level criminal code charges against someone for displaying a swastika. By a strange turn of events, then, Germans have less freedom of speech there than there is in the United States, because I think you can display such images here without fear of reprisal (depending on the context, I would guess).

However I understand why Germans would ban the image. That’s part of their history that they are not proud of. At least there are no “holocaust deniers” in Germany.

By allenJo — On Mar 04, 2012

@nony - Your argument doesn’t really make sense. You said that Arizona was trying to enforce existing laws about immigration. This isn’t really a conflict, then, is it?

We don’t have two sets of laws here. We have a federal government that wasn’t enforcing existing laws and a state that chose to do so. It’s about enforcement not a conflict of laws the way that I see it.

You can make the case that it was still the federal government's role to decide how they wanted to enforce the laws, but the laws were the same either way.

By nony — On Mar 03, 2012

The conflict between the federal criminal code and state laws can be the source of ongoing friction and debate. The AZ criminal code is one such example in my opinion. All they were trying to do was to enforce existing laws on the books about immigration, but the federal government stepped in and said that they couldn’t do that, it was within the purview of the federal government.

As much as I would normally side with Arizona’s position, I have to agree with the federal government on this one, and I am normally a state’s rights kind of guy. The federal government is responsible for immigration enforcement. States may have their own laws but they have to be subordinate to those of the federal government.

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.