How MRI Gradient Coils Create an Image

How an MRI scanner uses carefully controlled magnetic-field changes to figure out where signals came from inside the patient — and why gradient problems can become image distortion, positioning errors, noise, or scan aborts

MRI is one of those technologies that can feel almost magical from the outside.

Back to Biomed Basics

What This Page Explains

This page covers:

The Simple Version

MRI first creates a signal from hydrogen inside the patient.

Then it needs to determine where that signal originated.

The gradient system does that by slightly changing magnetic-field strength across space.

A simplified chain looks like:

Main Magnetic Field

↓

RF Excites Hydrogen

↓

Gradient Changes Magnetic Field by Position

↓

Hydrogen at Different Locations Behaves Slightly Differently

↓

Receiver Detects Combined Signal

↓

Computer Uses Encoded Differences to Determine Position

↓

Image Is Reconstructed

The gradient coils are therefore not primarily creating the MR signal.

They are helping label that signal with spatial information.

Start With the Main Magnetic Field

The MRI system's main magnet creates a strong static magnetic field commonly called:

B0.

This field aligns a portion of the hydrogen nuclei in the patient.

Hydrogen is especially useful because the human body contains a great deal of:

both of which contain hydrogen.

Hydrogen Nuclei Behave Like Tiny Magnets

A hydrogen nucleus contains a proton.

That proton has magnetic properties.

Inside the MRI's main field, the proton does not simply point rigidly in one direction.

It precesses around the magnetic field.

Larmor Frequency

The rate of that precession depends on the magnetic-field strength.

This is described by the:

Larmor relationship.

The stronger the local magnetic field:

The higher the precession frequency.

This relationship is one of the most important pieces of MRI physics.

Because if frequency changes with magnetic-field strength, then deliberately changing magnetic-field strength based on location gives the scanner a way to encode position.

The Problem Without Gradients

Imagine the main field were perfectly uniform everywhere inside the patient.

Hydrogen nuclei of the same type would experience essentially the same magnetic-field strength.

They would therefore precess at similar frequencies.

The scanner might receive signal, but determining exactly where each portion came from would be difficult.

The Gradient Solution

Gradient coils intentionally create a controlled variation in magnetic-field strength across space.

Instead of the magnetic field being exactly the same everywhere:

It becomes slightly stronger in one direction and slightly weaker in the other.

A Simple Example

Suppose the gradient makes the magnetic field increase from left to right.

Now hydrogen on the left experiences a slightly different field than hydrogen on the right.

Because the local magnetic field differs:

Their precession frequencies differ.

The scanner can use those differences to infer position.

What Is a Gradient?

In this context, a gradient is a controlled change in magnetic-field strength over distance.

It can be expressed in units such as:

mT/m

or millitesla per meter.

The Main Magnet Is Strong

The gradient field is relatively small compared with the main field.

But it changes rapidly and precisely.

That small change is enough to encode location.

Three Gradient Axes

MRI systems generally have three gradient axes:

These correspond to three spatial directions.

Depending on scanner orientation, they allow the system to create gradients:

Gradient Coils

The gradient coils are large conductor assemblies located inside the magnet structure around the patient bore.

Current through these conductors creates the desired magnetic-field gradients.

They Are Not Permanent Magnets

The gradients are generated electrically.

By controlling:

the scanner can control the gradient field.

Gradient Amplifiers

The gradient coils require powerful electrical current.

That current is supplied by:

Gradient amplifiers.

These amplifiers must produce rapidly changing currents with precise timing.

Why the Amplifiers Matter

The scanner may command:

in extremely rapid sequence.

The amplifier must follow those commands accurately.

Gradient Amplifier Failure

Possible symptoms can include:

depending on the system and failure.

Spatial Encoding Happens in Several Ways

MRI commonly uses gradients for three major purposes:

These names sound intimidating.

The basic idea is simple:

Each gradient step adds information about where the signal came from.

Slice Selection

Suppose the scanner wants to image one slice through the patient.

It applies a gradient across the desired direction.

Now magnetic-field strength varies with position.

Because resonance frequency depends on magnetic-field strength:

Different locations resonate at slightly different frequencies.

RF Pulse With the Gradient

The scanner then applies an RF pulse containing a selected frequency range.

Only hydrogen nuclei whose local resonance frequencies fall within that range are excited.

That corresponds to a specific spatial region.

In Plain English

Gradient creates:

Different frequencies at different locations.

RF pulse selects:

A particular frequency range.

Together they select:

A physical slice.

Slice Position

Changing the RF frequency while the gradient is active changes which slice is selected.

Slice Thickness

Slice thickness depends on factors including:

A stronger gradient can create greater frequency separation per unit distance.

Frequency Encoding

After excitation, one gradient axis can be used so position along that direction corresponds to frequency.

This is called:

Frequency encoding

or:

Readout encoding.

Simple Version

During signal collection:

One side of the anatomy produces a slightly lower frequency.

The other side produces a slightly higher frequency.

Software analyzes those frequencies to determine position along that axis.

Phase Encoding

A second gradient direction is usually encoded differently.

The scanner briefly applies a gradient that causes protons at different positions to accumulate different phase shifts.

When the gradient is turned off, the frequency difference disappears, but the phase relationship remains.

Phase

Phase describes where a repeating cycle is relative to another.

Think about two rotating clock hands moving at the same speed but starting from slightly different angles.

They have the same frequency.

Different phase.

Why Phase Encoding Works

During the phase-encoding gradient:

Different positions experience slightly different magnetic fields.

They therefore precess at slightly different speeds for a short period.

When the gradient stops:

They again experience the same base field, but they are no longer synchronized.

The amount of phase shift contains spatial information.

Multiple Phase-Encoding Steps

MRI repeats the sequence many times using different phase-encoding strengths.

Each repetition collects another piece of spatial information.

K-Space

The collected frequency and phase information is stored in a mathematical data structure commonly called:

k-space.

K-space is not a picture of the patient.

It is encoded spatial-frequency data.

Image Reconstruction

A mathematical transformation, commonly involving a Fourier transform, converts k-space into the anatomical image.

This Is Why MRI Artifacts Can Come From Encoding Problems

If gradient timing or amplitude is wrong:

The spatial information placed into k-space can be wrong.

The reconstruction software will faithfully reconstruct that incorrect information.

The Computer Cannot Always “Know” the Gradient Was Wrong

It assumes the gradient system performed what was commanded.

That is why gradient calibration and monitoring matter.

Gradient Linearity

Ideally, the gradient field changes linearly across the imaging region.

Meaning:

Equal changes in distance produce predictable changes in magnetic-field strength.

Real Coils Are Not Perfect

Farther from the center of the magnet:

Gradient linearity may become less ideal.

The system uses:

to reduce geometric distortion.

Geometric Distortion

If the spatial-encoding relationship is wrong, anatomy can appear:

This matters especially in applications where geometric accuracy is important.

Gradient Calibration

The system must know how much magnetic-field gradient results from a given commanded current.

Calibration helps establish that relationship.

If Gradient Gain Is Wrong

Suppose the scanner commands a certain gradient strength but the actual gradient is weaker.

Spatial scaling may be wrong.

The image can become geometrically distorted.

Gradient Offset

A gradient offset can shift spatial encoding.

The effect depends on sequence and axis.

Axis-Specific Problems

Because X, Y, and Z gradients are separate systems, one axis can malfunction while others remain normal.

This can produce directional clues in image artifacts or diagnostics.

Example

A geometric error appears predominantly along one image direction.

Gradient diagnostics show abnormal Y-axis response.

That relationship can help isolate the affected axis.

Gradient Switching

MRI gradients change rapidly during imaging.

This rapid switching is one of the reasons MRI scanners make loud:

sounds.

Why Gradients Make Noise

Current-carrying gradient conductors sit inside the strong main magnetic field.

Electrical current in a magnetic field experiences mechanical force.

When gradient current changes rapidly:

The coil assembly experiences rapidly changing forces.

Those forces create vibration.

The vibration becomes sound.

The Famous MRI Knocking Is Not the Magnet Turning On and Off

The main superconducting field remains essentially steady during scanning.

Much of the sequence-dependent acoustic noise comes from rapidly switched gradient coils.

Different Sequences Sound Different

Different MRI sequences use different gradient patterns.

That is why one scan may sound like:

Rapid tapping.

Another:

Heavy knocking.

Another:

A buzzing rhythm.

The sound reflects the gradient waveform being commanded.

Slew Rate

Slew rate describes how quickly a gradient can change from one amplitude to another.

A higher slew rate means faster change.

Why Slew Rate Matters

Fast gradient switching enables:

But rapid switching also increases demands related to:

Physiological Limits

Rapidly changing magnetic fields can induce electric fields in the body.

If strong enough, these may stimulate peripheral nerves.

MRI systems include limits intended to manage this.

Peripheral Nerve Stimulation

Patients may occasionally report:

during aggressive gradient sequences.

This is one reason gradient performance is limited not only by hardware capability but also by safety constraints.

Gradient Heating

Large currents flowing through gradient coils generate heat.

The gradient amplifiers also generate heat.

MRI therefore requires substantial thermal management.

Cooling Systems

Depending on system design, cooling may involve:

Gradient Overtemperature

A scanner may perform normally at first.

After demanding sequences:

Temperature rises.

The system may:

Sequence-Specific Failure

This creates an important troubleshooting clue.

A scanner may run:

without trouble.

Then fail during:

That does not necessarily mean the entire scanner is unstable.

It may mean the fault appears only when the gradient system is heavily loaded.

Diffusion Imaging

Diffusion MRI often uses strong gradient pulses.

That makes it especially demanding on gradient hardware.

EPI

Echo-planar imaging uses rapid gradient switching.

It can be sensitive to:

Eddy Currents

A changing magnetic field can induce electrical currents in nearby conductive structures.

These are called:

Eddy currents.

Why Eddy Currents Matter

Those induced currents create their own magnetic fields.

These unwanted fields can distort the intended gradient waveform.

MRI Systems Compensate for Eddy Currents

Manufacturers use:

to reduce their effects.

Pre-Emphasis

The scanner can intentionally shape the commanded gradient waveform to counteract expected eddy-current effects.

In simple terms:

The system predicts how nearby conductive structures will distort the field and modifies the command so the final field more closely matches what was intended.

Active Shielded Gradients

Modern gradient coils may use additional windings designed to reduce magnetic fields outside the imaging region.

This can reduce eddy currents in surrounding magnet structures.

Gradient Timing

MRI spatial encoding depends not just on gradient amplitude but also on:

Timing.

If the gradient occurs too early or too late relative to:

the encoded information is wrong.

Timing Errors Can Produce Artifacts

The MRI sequence depends on extremely precise synchronization between:

Scanner Control System

The sequence controller coordinates these systems.

You can think of the MRI exam as an extremely precise electrical orchestra.

The RF and gradient systems must perform their assigned waveforms at exactly the correct times.

Mechanical Gradient Problems

Gradient coils are mechanically stressed every time they switch.

They are built to withstand enormous numbers of cycles.

But mechanical issues can occur.

Possible signs include:

Normal MRI Is Already Loud

That makes acoustic troubleshooting tricky.

The question is not:

Is the MRI loud?

It is.

The useful question is:

Has the sound changed from its normal sequence-specific behavior?

Gradient Coil Damage

A serious coil fault can involve:

These are generally highly specialized OEM-level repairs.

Gradient Amplifier Diagnostics

The scanner may monitor:

on each gradient axis.

Commanded vs Actual Current

Some systems can compare:

If they disagree beyond limits:

The scan may abort.

Why That Is Useful

The scanner is not simply trusting that the amplifier followed the command.

It may have feedback that confirms electrical response.

But Field Accuracy Is More Than Current

Correct current does not automatically prove:

because the physical coil and calibration also matter.

Gradient Fault vs RF Fault

These can sometimes produce confusing image symptoms.

A useful conceptual split is:

RF determines excitation and receives signal.

Gradients encode position.

Example

Signal missing entirely:

Think about RF and acquisition.

Anatomy present but geometrically distorted:

Spatial encoding becomes more interesting.

That is not a diagnosis by itself, but it helps organize the problem.

Main Magnet Homogeneity vs Gradient Error

The main field should be highly uniform.

Gradients intentionally make it nonuniform during specific parts of the sequence.

Shimming

Shimming improves uniformity of the static B0 field.

That is separate from normal gradient encoding.

Why This Distinction Matters

Both field inhomogeneity and gradient errors can produce spatial or frequency-related artifacts.

But they originate from different systems.

Gradient Coil Location

The gradient coil sits inside the main magnet assembly and outside the patient imaging volume.

The RF body coil may sit still closer to the patient, depending on system design.

These layers are part of why the bore has limited diameter.

MRI Bore Is More Than an Empty Hole

Around the patient are multiple sophisticated systems:

Table Position Still Matters

Gradients encode position relative to the scanner's coordinate system.

The patient table positions anatomy within that system.

If table position is wrong:

The planned scan location can also be wrong.

Localizer Images

MRI exams commonly start with localizer or scout images.

These help determine anatomical positioning for subsequent sequences.

Real-World Example: Gradient Overtemperature

Scanner completes routine sequences.

During repeated gradient-intensive imaging:

Scan aborts with gradient amplifier temperature fault.

Cooling flow is reduced.

The gradient electronics are not necessarily defective.

The cooling system cannot remove the generated heat.

Real-World Example: Axis Fault

Scanner aborts specific sequences with:

Y gradient fault.

Diagnostics show commanded Y current is not being achieved.

X and Z axes test normally.

Now the problem is much more specific than:

MRI won't scan.

Real-World Example: Geometric Distortion

Phantom image shows reproducible stretching along one axis.

Gradient calibration fails.

The scanner still produces images, but spatial encoding is inaccurate.

Real-World Example: Unusual Acoustic Noise

Technologists report a new sharp mechanical rattle during high-gradient sequences.

Images still reconstruct.

Because gradient switching physically stresses the coil assembly, the change in sound deserves investigation rather than dismissal as:

MRIs are loud.

Common Mistakes

Thinking the Gradient Coil Creates the Main MRI Magnetic Field

The main magnet creates B0.

Gradient coils make smaller controlled variations on top of it.

Thinking Gradients Create the Patient Signal

RF excitation and hydrogen behavior create the measurable MR signal.

Gradients encode spatial location.

Assuming All Image Distortion Is Gradient Failure

B0 inhomogeneity, patient motion, susceptibility, RF, and reconstruction can also contribute.

Ignoring Cooling

Gradient systems can fail only under sustained high demand.

Assuming Normal MRI Noise Means Every Noise Is Normal

Look for changes from expected sequence behavior.

Looking Only at the Gradient Coil

The amplifier, cooling, control, and feedback systems are part of the gradient chain.

A Useful Gradient-System Framework

Think:

Sequence Controller

↓

Gradient Command

↓

Gradient Amplifier

↓

Gradient Coil Current

↓

Magnetic-Field Gradient

↓

Hydrogen Frequency / Phase Changes

↓

Received MR Signal

↓

Spatial Reconstruction

A fault anywhere in that chain can affect image formation.

Another Useful Troubleshooting Split

Ask whether the problem is:

Command

Amplification

Coil / Field Generation

Calibration

Cooling

Image Reconstruction

That is much more useful than saying:

Gradient problem.

What Did You Actually Prove?

If gradient diagnostics say:

Amplifier PASS,

you proved:

The tested amplifier functions met the internal diagnostic criteria under those conditions.

You did not necessarily prove:

If a geometric phantom passes the applicable MRI QC tests:

You have stronger evidence that the gradient and reconstruction system are producing acceptable spatial geometry under those test conditions.

If the scanner fails only during high-gradient sequences:

You have evidence that:

The problem depends on gradient demand.

You have not yet proven whether the cause is:

Final Thoughts for Biomeds

Gradient coils are what allow MRI to turn a signal into a location.

The main magnet gives the scanner a strong, stable magnetic environment.

RF gives it a way to excite and listen to hydrogen.

The gradient system adds the spatial labels.

It says, in effect:

This part of the signal came from here.

This part came from over there.

And it does that by controlling tiny magnetic-field differences with extremely precise timing.

That is why gradient problems can become:

rather than simply:

No image.

Once you understand the gradient system, MRI starts to feel less like one giant mysterious magnet and more like several coordinated subsystems doing very specific jobs.

And that is the point of learning how it works.

Not memorizing enough MRI physics to become a physicist.

Understanding enough to look at a symptom and ask:

Which part of the imaging chain would have to fail to produce what I am seeing?

And as always:

What did you actually prove?

— Jake

Important Note

MRI gradient-coil architecture, amplifier design, gradient strengths, slew rates, cooling systems, calibration methods, diagnostic procedures, safety limits, and service boundaries vary significantly by manufacturer and scanner model. MRI systems also present serious magnetic, electrical, cryogenic, and RF hazards. Follow current OEM documentation, MRI safety procedures, and authorized service scope when troubleshooting gradient-related problems.

Related Biomed Basics