Electron Config of Magnesium

1s² 2s² 2p⁶ 3s²

Quick Answer — Magnesium Electron Configuration

Magnesium has the electron configuration 1s² 2s² 2p⁶ 3s² (shorthand: [Ne] 3s²). It belongs to the S-block with 2 valence electrons controlling its reactivity.

Full Config

1s² 2s² 2p⁶ 3s²

Noble Gas Core

[Ne] 3s²

Block

S

Valence e⁻

2

Atomic Number

12

Configuration

[Ne] 3s²

Block

S-block

Valence e⁻

2

Mg
Quantum Orbital Subshell Diagram

Magnesium SPDF Orbital Model, Aufbau Configuration

Study the quantum subshell breakdown of Magnesium (Mg, Z=12). Configuration: 1s² 2s² 2p⁶ 3s² — terminating in the s-block.

Configuration: 1s² 2s² 2p⁶ 3s²Block: S-blockPeriod: 3Group: 2Valence e⁻: 2

Interactive SPDF Orbital Visualizer

Rendering Orbital Boxes...

Ground State: Mg

Orbital Types — s, p, d, f

s

Spherical

Max 2 e⁻

1 orbital per subshell

p

Dumbbell / Lobed

Max 6 e⁻

3 orbitals per subshell

d

Four-lobed

Max 10 e⁻

5 orbitals per subshell

f

Complex multi-lobe

Max 14 e⁻

7 orbitals per subshell

Quantum Mechanical SPDF Subshell Analysis

While the classical Bohr model provides a brilliant introductory visualization of Magnesium, modern quantum mechanics dictates that electrons do not travel in perfect, planetary circles. Instead, they exist in three-dimensional probabilty clouds known as orbitals, modeled by profound mathematical wave functions.

The SPDF orbital model provides a drastically more accurate depiction of Magnesium. Its full electronic configuration, explicitly defined as 1s² 2s² 2p⁶ 3s², maps precisely how its 12 electrons populate the s (spherical), p (dumbbell), d (clover), and f (complex multi-lobed) subshells.

Applying Quantum Rules to Magnesium

To manually construct the SPDF electron configuration for Magnesium, chemists utilize three ironclad quantum principles: 1. The Aufbau Principle: (From German, meaning "building up"). The electrons of Magnesium must first completely fill the absolute lowest available energy levels before moving to higher ones, starting at 1s, then 2s, 2p, 3s, and so on (following the Madelung Rule diagonal). 2. The Pauli Exclusion Principle: No two electrons inside Magnesium can share the exact same four quantum numbers. Practically, this means a single orbital can hold a strict maximum of two electrons, and they must spin in perfectly opposite directions (spin up +½ and spin down -½). 3. Hund's Rule of Maximum Multiplicity: When Magnesium's electrons enter a degenerate subshell (like the three equal-energy p-orbitals), they absolutely must spread out to occupy empty orbitals singly before any orbital is forced to double up. This sweeping separation fundamentally minimizes electron-electron repulsion.

When plotting Magnesium, the electrons obediently follow the standard Aufbau trajectory, cleanly filling the lower-energy spherical shells before sequentially occupying the higher-energy complex lobes, definitively terminating in the s-block.

Shorthand (Noble Gas) Notation

Writing out the entire sequence for Magnesium step-by-step can become incredibly tedious, especially for heavy elements. To compress the notation, chemists use standard Noble Gas Core shorthand. By substituting the innermost core electrons of Magnesium with the symbol of the previous noble gas, we arrive at its drastically simplified notation: [Ne] 3s². This highlights exactly what matters most—the outermost valence electrons actively engaging in the universe.

Chemical & Physical Overview

The element Magnesium, represented universally by the chemical symbol Mg, holds the atomic number 12. This means that a standard neutral atom of Magnesium possesses exactly 12 protons within its dense nucleus, orbited precisely by 12 electrons. With a standard atomic weight of approximately 24.305 atomic mass units (u), Magnesium is classified fundamentally as a alkaline earth metal.

From a periodic standpoint, Magnesium resides in Period 3 and Group 2 of the periodic table, placing it firmly within the s-block. The overarching category of an element—whether it behaves as an alkali metal, a halogen, a noble gas, or a transition metal—is determined exclusively by how these electrons fill the available quantum shells.

Diving deeper into its physical footprint, Magnesium exhibits a calculated atomic radius of 145 picometers (pm). When attempting to physically remove an electron from its outermost shell, it requires a primary ionization energy of 7.646 eV. Furthermore, its tendency to attract shared electrons in a covalent chemical bond—known as its electronegativity—measures at 1.31 on the Pauling scale. These specific subatomic metrics (radius, ionization, and electron affinity) combine to define exactly how Magnesium interacts, bonds, and reacts with every other chemical element in the observable universe.

Atomic Properties — Magnesium

Atomic Mass

24.305 u

Electronegativity

1.31 (Pauling)

Block / Group

S-block, Group 2

Period

Period 3

Atomic Radius

145 pm

Ionization Energy

7.646 eV

Electron Affinity

0 eV

Category

Alkaline Earth Metal

Oxidation States

+2

Real-World Applications

Chlorophyll (Photosynthesis)Aerospace Structural AlloysFireworks & FlaresMagnesium SupplementsDie-Cast Automotive Parts

Aufbau Filling Order — Magnesium

Highlighted subshells are filled; dimmed ones are empty for this element

Aufbau (Madelung) Filling Order — active subshells highlighted

1.1s
2.2s
3.2p
4.3s
5.3p
6.4s
7.3d
8.4p
9.5s
10.4d
11.5p
12.6s
13.4f
14.5d
15.6p
16.7s
17.5f
18.6d
19.7p

Subshell-by-Subshell Breakdown

Full 1s² 2s² 2p⁶ 3s² decomposed by orbital type, capacity, and fill status

SubshellTypeElectrons FilledMax CapacityFill %Pairing Status

Real-World Applications & Industrial Uses

The distinct electronic structure of Magnesium directly empowers its functionality in the physical world. Its specific combination of atomic radius, electron affinity, and valence shell configuration makes it absolutely indispensable across modern industry, biological systems, and advanced technology.

Here are the primary real-world applications of Magnesium:

  • Chlorophyll (Photosynthesis): Its baseline chemical reactivity makes it specifically suited for this primary role.
  • Aerospace Structural Alloys: Used heavily in advanced manufacturing and chemical processing.
  • Fireworks & Flares
  • Magnesium Supplements
  • Die-Cast Automotive Parts

    Without the specific quantum mechanics occurring microscopically within Magnesium's electron cloud, these macroscopic technologies and biological processes would fundamentally fail to operate.

  • Did You Know?

    A lightweight, shiny alkaline earth metal that burns with a dazzling white flame so bright it cannot be extinguished with water. Magnesium is the ninth most abundant element in the universe and the eighth most abundant in Earth's crust. Critically, magnesium is at the center of every chlorophyll molecule, making it absolutely essential for plant photosynthesis and thus all food chains on Earth.

    Quantum Principles Applied to Magnesium

    Aufbau Principle

    Electrons fill Magnesium's subshells from lowest to highest energy: . The final electron lands in the s-block.

    Hund's Rule

    Within each subshell, Magnesium's electrons occupy separate orbitals before pairing, maximizing total spin and minimizing repulsion.

    Pauli Exclusion

    No two electrons in Magnesium share all four quantum numbers. Each orbital holds max 2 electrons with opposite spins — enforcing the 1s² 2s² 2p⁶ 3s² configuration.

    Frequently Asked Questions — Magnesium SPDF Model

    Authoritative References

    The atomic and structural data for Magnesium provided on this page has been cross-referenced with primary chemical databases. For further primary-source research, consult the following global authorities:

    SPDF Models for All 118 Elements

    Magnesium SPDF Electron Configuration Explained

    Magnesium has atomic number 12, meaning it has 12 electrons to arrange across its orbitals. Its ground-state electron configuration is:

    Full notation: `1s² 2s² 2p⁶ 3s²`

    Shorthand notation: `[Ne] 3s²`

    This configuration places Magnesium in the S-block of the periodic table — Period 3, Group 2. The last subshell filled (the s subshell) determines its block.

    SPDF notation tells you exactly: which subshell each electron occupies, how many electrons are in it, and the energy level of each group. This is far more detail than the simpler Bohr model, which only shows shell totals.

    Aufbau Filling Sequence for Magnesium

    The Aufbau (building-up) principle states electrons fill the lowest available energy subshell first. For Magnesium (Z=12), the filling stops at the 3s² subshell.

    Standard Aufbau sequence:

    1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → 5s → 4d → 5p → 6s → 4f → 5d → 6p → 7s → 5f → 6d → 7p

    After filling, Magnesium's configuration ends at 1s² 2s² 2p⁶ 3s², with 2 valence electrons in its outermost subshell.

    Orbital Diagram of Magnesium (s, p, d, f)

    The orbital diagram of Magnesium expands the configuration 1s² 2s² 2p⁶ 3s² into individual orbital boxes:

    - Each s subshell holds max 2 electrons (1 orbital)

    - Each p subshell holds max 6 electrons (3 orbitals)

    - Each d subshell holds max 10 electrons (5 orbitals)

    - Each f subshell holds max 14 electrons (7 orbitals)

    Hund's Rule dictates that within any subshell, electrons fill each orbital singly (spin up ↑) before pairing. This avoids electron–electron repulsion. Magnesium's S-block placement confirms its last orbitals are s type.

    The interactive diagram above shows Magnesium's complete subshell breakdown with orbital boxes for every energy level.

    How to Write Magnesium's Electron Configuration

    Follow these steps to write Magnesium's electron configuration from scratch:

    Step 1: Identify the atomic number: Z = 12 — this is the total number of electrons to place.

    Step 2: Follow the Aufbau sequence, filling the lowest energy subshells first:

    > 1s → 2s → 2p → 3s → 3p → 4s → 3d → 4p → ...

    Step 3: Apply Hund's Rule inside each subshell — one electron per orbital before pairing begins.

    Step 4: Apply the Pauli Exclusion Principle — each orbital holds at most 2 electrons with opposite spins.

    Step 5: After filling all 12 electrons, your result should match:

    > 1s² 2s² 2p⁶ 3s²

    Shorthand: Replace the preceding noble gas core with its symbol:

    > [Ne] 3s²

    Why Magnesium Matters (Real-World Insight)

    🔬 Element Comparison

    Magnesium vs Aluminum — Key Differences

    Although Magnesium (Z=12) and Aluminum (Z=13) are adjacent on the periodic table, they behave very differently. Magnesium has 2 valence electrons vs Aluminum's 3. Their electronegativity gap is 0.30 — a critical factor in predicting bond polarity when the two interact.

    Valence Electrons & S-Block Position

    Magnesium has 2 valence electrons — the electrons in its highest occupied principal energy level.

    As a S-block element, Magnesium's valence electrons reside in s orbitals. These are the only electrons involved in chemical bonding.

    | Block | Type | Max Valence e⁻ |

    |---|---|---|

    | s-block | Groups 1–2 | 1–2 |

    | p-block | Groups 13–18 | 3–8 |

    | d-block | Groups 3–12 | up to 10 |

    | f-block | Lanthanides/Actinides | up to 14 |

    Magnesium sits in this table as a s-block element with 2 valence electrons.

    See Magnesium's valence electrons in the Bohr model for the shell-based view.

    Electronegativity of Magnesium — how strongly it attracts these electrons.

    Frequently Asked Questions

    Q. How many electrons does Magnesium have?

    Magnesium has 12 electrons, matching its atomic number. In a neutral atom, these are balanced by 12 protons in the nucleus.

    Q. What is the shell structure of Magnesium?

    The electron shell distribution for Magnesium is 2, 8, 2. This shows how all 12 electrons are arranged across 3 principal energy levels.

    Q. How many valence electrons does Magnesium have?

    Magnesium has 2 valence electrons in its outermost shell. These are responsible for its chemical bonding and placement in Group 2.

    Q. What is the SPDF configuration of Magnesium?

    The full configuration is 1s² 2s² 2p⁶ 3s². This describes the exact subshell occupancy following the Aufbau principle.

    Q. What block is Magnesium in?

    Magnesium is in the S-block because its highest-energy electrons occupy s orbitals.

    Emmanuel TUYISHIMIRE (Toni) — Principal Software Engineer, Toni Tech Solution
    Technical AuthorFact CheckedLast Reviewed: May 2026

    By Emmanuel TUYISHIMIRE · May 2026 · Last Reviewed May 2026

    Emmanuel TUYISHIMIRE (Toni)

    Principal Software Engineer & STEM Educator · Toni Tech Solution · Kigali, Rwanda

    Toni cross-references every data value on this site against at least three authoritative sources: PubChem, NIST Chemistry WebBook, and the Royal Society of Chemistry. When sources conflict, all three are cited and the discrepancy is explained. Read the full methodology →

    Data Sources & References

    All numerical values on this page are sourced from and cross-referenced against the following authoritative databases: