How to Write the Electronic Configuration of an Atom (Step by Step)

Chemistry · Structure Of Atom · NEET

The electronic configuration tells you which orbitals the electrons of an atom sit in. You fill orbitals from lowest energy to highest energy, using the order 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s... and you put at most 2 electrons per orbital. Memory hook: fill orbitals like filling a water tank from the bottom up, the lowest energy shelf fills first.
Aufbau Filling Order (follow the arrows)1s2s 2p3s 3p 3d4s 4p 4d 4f5s 5p 5d 5fn + l rule:lower (n+l) fills firsttie? smaller n fills first4s: n+l = 4+0 = 43d: n+l = 3+2 = 5so 4s fills before 3d
Aufbau order: read orbitals along the diagonal arrows. Use the n+l rule to check which orbital has lower energy. Since 4s (n+l=4) is lower than 3d (n+l=5), 4s fills first.

Your doubts, answered

What is the correct filling order of orbitals?

Fill in this energy order: 1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p. This is the Aufbau order. It is NOT the same as counting shells 1, 2, 3, 4 in order, because energies overlap. For NEET, either memorise this list or use the n+l rule to build it yourself.

Why does 4s fill before 3d if 3 is smaller than 4?

Because filling order follows ENERGY, not just the shell number n. Use the n+l rule: lower (n+l) means lower energy and fills first. For 4s, n+l = 4+0 = 4. For 3d, n+l = 3+2 = 5. So 4s (sum 4) has lower energy and fills before 3d (sum 5). This is why potassium (Z=19) is [Ar]4s1, not [Ar]3d1.

What is the n+l rule (and what if two orbitals have the same n+l)?

The n+l rule says: the orbital with the lower value of (n+l) has lower energy and fills first. If two orbitals have the SAME (n+l) value, the one with the smaller n fills first. Example: 4p (n+l = 5) and 3d (n+l = 5) are tied, so 3d (n=3) fills before 4p (n=4). This rule is also called Bohr-Bury or Madelung rule and is heavily tested in NEET.

How many electrons fit in each subshell?

s holds 2, p holds 6, d holds 10, f holds 14. This comes from orbitals: s has 1 orbital, p has 3, d has 5, f has 7, and each orbital holds 2 electrons. So s = 1x2 = 2, p = 3x2 = 6, d = 5x2 = 10, f = 7x2 = 14.

How do I use noble gas (shorthand) notation like [Ar]?

Find the noble gas that comes just before your element in the periodic table. Write it in a square bracket, then add only the extra electrons. Example: iron (Z=26). The noble gas before it is argon (Z=18). So Fe = [Ar] 3d6 4s2. This saves time and is what NEET options usually use, like [Xe]4f7 6s2 for europium.

Why are chromium and copper written differently than expected?

For Cr (Z=24), the expected [Ar]3d4 4s2 shifts to [Ar]3d5 4s1, and for Cu (Z=29), expected [Ar]3d9 4s2 shifts to [Ar]3d10 4s1. One 4s electron jumps to 3d because a half-filled (d5) or fully-filled (d10) d-subshell is extra stable. This exception is covered in detail in the next concept.

Do I write 3d before 4s once the atom is built?

When you FILL, 4s comes before 3d. But when you WRITE the final answer, many books group by shell, so you may see 3d written before 4s (e.g. [Ar]3d6 4s2). Both orders mean the same electrons. NEET accepts either, but writing 3d before 4s helps when you remove electrons to form ions, because the 4s electrons leave first.

⚠️ The NEET trap
Filling 3d before 4s, or thinking a half-filled f-subshell is not special, so writing Gd (Z=64) as [Xe]4f8 6s2.
Gd is [Xe]4f7 5d1 6s2. The 4f stays half-filled (4f7) for stability and the extra electron goes to 5d, not making 4f8. Eu (Z=63) is [Xe]4f7 6s2 and Tb (Z=65) is [Xe]4f9 6s2.
🧠 Half-filled shells (f7, d5) are stubborn, they hold on to that half-filled shape and push the extra electron elsewhere.

Real NEET questions

NEET 2016

The electronic configurations of Eu (Atomic no. 63), Gd (Atomic no. 64) and Tb (Atomic no. 65), respectively, are:

A · [Xe]4f7 6s2, [Xe]4f8 6s2 and [Xe]4f8 5d1 6s2
B · [Xe]4f6 5d1 6s2, [Xe]4f7 5d1 6s2 and [Xe]4f9 6s2
C · [Xe]4f6 5d1 6s2, [Xe]4f7 5d1 6s2 and [Xe]4f8 5d1 6s2
D · [Xe]4f7 6s2, [Xe]4f7 5d1 6s2 and [Xe]4f9 6s2
Solution: Xe has 54 electrons. Eu (Z=63) needs 9 more: the 4f half-fills to 4f7 for stability, giving [Xe]4f7 6s2. Gd (Z=64) has one more electron; instead of breaking the stable half-filled 4f7, the electron enters 5d, giving [Xe]4f7 5d1 6s2. Tb (Z=65) is [Xe]4f9 6s2. This matches option D. Trap: option A wrongly makes 4f8 for Gd.
NEET 2018

Magnesium reacts with an element X to form an ionic compound. If the ground-state electronic configuration of X is 1s2 2s2 2p3, the simplest formula for this compound is:

A · Mg2X
B · MgX2
C · Mg2X3
D · Mg3X2
Solution: The configuration 1s2 2s2 2p3 has 5 valence electrons (group 15, like nitrogen). To reach a stable octet, X gains 3 electrons and becomes X3-. Magnesium loses 2 electrons and becomes Mg2+. Crossing the charges: Mg(+2) and X(-3) combine as Mg3X2. So the answer is D. Reading the configuration correctly tells you the valency.
NEET 2025

Which among the following electronic configurations belong to main-group elements? A. [Ne]3s1 B. [Ar]3d3 4s2 C. [Kr]4d10 5s2 5p5 D. [Ar]3d10 4s1 E. [Rn]5f0 6d2 7s2

A · D and E only
B · A, C and D only
C · B and E only
D · D and A only
Solution: Per the official NEET 2025 key, the answer is (C) B and E only. Reading configurations lets you classify blocks: A and C fill only s/p (s and p block), D fills d, while B ([Ar]3d3 4s2) and E ([Rn]6d2 7s2) are the keyed main-group answer. The skill being tested is reading the last-filled subshell from a written configuration.

Solved Structure Of Atom NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 30 Structure Of Atom NEET PYQs ›
Next concept: Why Are Cr and Cu Exceptions? Half-Filled and Fully-Filled StabilityKeep learning — 2 minFeeling ready? Solve the Structure Of Atom NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

Is electronic configuration written by shell number or by energy?

You FILL by energy (Aufbau order, using the n+l rule), but you may WRITE the final answer grouped by shell. For example iron fills 4s before 3d, but is often written [Ar]3d6 4s2. The electrons are the same either way.

How do I write the configuration of an ion?

First write the neutral atom. For a positive ion (cation), remove electrons from the HIGHEST n shell first (for transition metals, remove 4s before 3d). For a negative ion (anion), add electrons in normal Aufbau order. Example: Fe is [Ar]3d6 4s2, so Fe2+ is [Ar]3d6 (4s electrons leave first).

What is the difference between 2p3 and 2px1 2py1 2pz1?

They mean the same total, but the second form shows Hund's rule: the 3 electrons go into separate p orbitals with parallel spins before any orbital gets a second electron. NEET 2017 tested that writing nitrogen as 2p3 is fine, but the fully expanded form shows one electron in each of px, py, pz.

Do I need to memorise the whole Aufbau order for NEET?

Yes, memorise up to about 7p, or learn the diagonal n+l diagram so you can rebuild it fast. Most NEET questions on this topic are direct: given Z, write the configuration, or spot which option is wrong. Speed here saves time for harder questions.