Some magpies breed after their first year, while others remain in the non-breeding flocks and first breed in their second year.
They are monogamous, and the pairs often remain together from one breeding season to the next.
They generally occupy the same territory on successive years.

Mating takes place in spring.
In the courtship display, males rapidly raise and depress their head feathers, uplift, open and close their tails like fans, and call in soft tones quite distinct from their usual chatter.
The loose feathers of the flanks are brought over the primaries, and the shoulder patch is spread so the white is conspicuous, presumably to attract females.
Short buoyant flights and chases follow.

Magpies prefer tall trees for their bulky nest, firmly attaching them to a central fork in the upper branches.
A framework of the sticks is cemented with earth and clay, and a lining of the same is covered with fine roots.
Above is a stout though loosely built dome of prickly branches with a single well-concealed entrance.
These huge nests are conspicuous when the leaves fall.
Where trees are scarce, though even in well-wooded country, nests are at times built in bushes and hedgerows.

In Europe, clutches are typically laid in April, and usually contain five or six eggs, but clutches with as few as three and as many as ten have been recorded.
The eggs are laid in early morning, usually at daily intervals.
On average, the eggs of the nominate species measure 32.9 mm × 23 mm (1.30 in × 0.91 in) and weigh 9.9 g (0.35 oz).
Small for the size of the bird, they are typically pale blue-green, with close specks and spots of olive brown, but show much variation in ground and marking.

The eggs are incubated for 21–22 days by the female, who is fed on the nest by the male.
The chicks are altricial, hatching nearly naked with closed eyes.
They are brooded by the female for the first 5–10 days and fed by both parents.
Initially the parents eat the faecal sacs of the nestlings, but as the chicks grow larger, they defecate on the edge of the nest.
The nestlings open their eyes 7 to 8 days after hatching.
Their body feathers start to appear after around 8 days and the primary wing feathers after 10 days.
For several days before they are ready to leave the nest, the chicks clamber around the nearby branches.
They fledge at around 27 days.
The parents then continue to feed the chicks for several more weeks.
They also protect the chicks from predators, as their ability to fly is poor, making them vulnerable.
On average, only 3 or 4 chicks survive to fledge successfully.
Some nests are lost to predators, but an important factor causing nestling mortality is starvation.
Magpie eggs hatch asynchronously, and if the parents have difficulty finding sufficient food, the last chicks to hatch are unlikely to survive.
Only a single brood is reared, unless disaster overtakes the first clutch.

A study conducted near Sheffield in Britain, using birds with coloured rings on their legs, found that only 22% of fledglings survived their first year.
For subsequent years, the survival rate for the adult birds was 69%, implying that for those birds that survive the first year, the average total lifespan was 3.7 years.
The maximum age recorded for a magpie is 21 years and 8 months for a bird from near Coventry in England that was ringed in 1925 and shot in 1947.
Some magpies breed after their first year, while others remain in the non-breeding flocks and first breed in their second year. They are monogamous, and the pairs often remain together from one breeding season to the next. They generally occupy the same territory on successive years.
Mating takes place in spring. In the courtship display, males rapidly raise and depress their head feathers, uplift, open and close their tails like fans, and call in soft tones quite distinct from their usual chatter. The loose feathers of the flanks are brought over the primaries, and the shoulder patch is spread so the white is conspicuous, presumably to attract females. Short buoyant flights and chases follow.
Magpies prefer tall trees for their bulky nest, firmly attaching them to a central fork in the upper branches. A framework of the sticks is cemented with earth and clay, and a lining of the same is covered with fine roots. Above is a stout though loosely built dome of prickly branches with a single well-concealed entrance. These huge nests are conspicuous when the leaves fall. Where trees are scarce, though even in well-wooded country, nests are at times built in bushes and hedgerows.
In Europe, clutches are typically laid in April, and usually contain five or six eggs, but clutches with as few as three and as many as ten have been recorded. The eggs are laid in early morning, usually at daily intervals. On average, the eggs of the nominate species measure 32.9 mm × 23 mm (1.30 in × 0.91 in) and weigh 9.9 g (0.35 oz). Small for the size of the bird, they are typically pale blue-green, with close specks and spots of olive brown, but show much variation in ground and marking.
The eggs are incubated for 21–22 days by the female, who is fed on the nest by the male. The chicks are altricial, hatching nearly naked with closed eyes. They are brooded by the female for the first 5–10 days and fed by both parents. Initially the parents eat the faecal sacs of the nestlings, but as the chicks grow larger, they defecate on the edge of the nest. The nestlings open their eyes 7 to 8 days after hatching. Their body feathers start to appear after around 8 days and the primary wing feathers after 10 days. For several days before they are ready to leave the nest, the chicks clamber around the nearby branches. They fledge at around 27 days. The parents then continue to feed the chicks for several more weeks. They also protect the chicks from predators, as their ability to fly is poor, making them vulnerable. On average, only 3 or 4 chicks survive to fledge successfully. Some nests are lost to predators, but an important factor causing nestling mortality is starvation. Magpie eggs hatch asynchronously, and if the parents have difficulty finding sufficient food, the last chicks to hatch are unlikely to survive. Only a single brood is reared, unless disaster overtakes the first clutch.
A study conducted near Sheffield in Britain, using birds with coloured rings on their legs, found that only 22% of fledglings survived their first year. For subsequent years, the survival rate for the adult birds was 69%, implying that for those birds that survive the first year, the average total lifespan was 3.7 years. The maximum age recorded for a magpie is 21 years and 8 months for a bird from near Coventry in England that was ringed in 1925 and shot in 1947.
Eurasian magpie