The Swineherd: The Prince Who Tested a Princess

8 min
He sent the greatest treasures of his kingdom—and she threw them away.
He sent the greatest treasures of his kingdom—and she threw them away.

AboutStory: The Swineherd: The Prince Who Tested a Princess is a Fairy Tale Stories from denmark set in the Renaissance Stories. This Humorous Stories tale explores themes of Wisdom Stories and is suitable for All Ages Stories. It offers Moral Stories insights. When She Kissed a Pig Keeper for Toys But Rejected a Prince.

The Swineherd is one of Hans Christian Andersen's sharpest satires—a fairy tale that mocks vanity, superficiality, and the inability to recognize true value.

The princess at its center is not wicked or cruel, merely shallow: she values artificial prettiness over natural beauty, novelty over substance. The prince tests her by offering first his kingdom's greatest treasures—real, living, irreplaceable—and then, in disguise, trinkets that are clever but worthless.

She fails both tests: rejecting the rose and nightingale because they are 'merely' natural, then degrading herself with kisses in the pigsty for mechanical toys. Andersen's prince is not entirely sympathetic either: he uses deception, manufactures humiliation, and ultimately refuses to marry the princess he originally claimed to love.

The story has no winner; both characters end alone, she banished and he rejecting her. Modern readers often find the moral uncomfortably judgmental—the princess is punished harshly for a fault (preferring artificial things) that many share. But Andersen was writing in a world where authentic emotion was increasingly replaced by manufactured sentiment, and The Swineherd remains relevant wherever style triumphs over substance.

The Gifts That Were Too Real

A prince fell in love with a princess he had never met. He had heard of her beauty and wanted to marry her, so he sent her the most precious gifts his poor kingdom could offer.

The first was a rose bush that bloomed only once every five years (and even then, produced only a single flower), but that one rose smelled so perfect that anyone who breathed its fragrance forgot their sorrows. The second was a nightingale that sang with such beauty that it brought tears of joy to everyone who heard it.

'It's only real,' she said, throwing away what could never be replaced.
'It's only real,' she said, throwing away what could never be replaced.

The gifts arrived at the princess's palace in silver boxes. She opened the first and found the rose. 'Oh,' she said with disappointment, 'it's natural. I thought it would be artificial—at least gold or crystal.' She threw it away.

She opened the second box and the nightingale began to sing.

'How plain it looks,' she said. 'Just a little brown bird. Is it real?' When told it was alive, she lost all interest.

'A real bird? How dull. Send it away.'

The prince received word that his gifts had been rejected and felt something harden in his heart. The princess did not want real beauty; she wanted only artificial things. He disguised himself as a common man, dirtied his face, and walked to her palace to ask for work.

The only position available was tending the emperor's pigs. So the prince became a swineherd, living in a humble hut behind the palace, feeding the royal pigs and sleeping in straw.

But he did not abandon his princely talents. In his spare time, he crafted something wonderful: a little pot that could play any tune in the world whenever water was made to boil inside it. It was a clever toy—not beautiful like the rose, not moving like the nightingale, but artificial and novel. He knew the princess would want it.

Kisses for Toys

Word reached the princess that the swineherd had a magical pot. She came down to the pigsty with her ladies-in-waiting and saw it demonstrated: the pot boiled and played 'Oh, Du Lieber Augustin' while the lids clattered like cymbals.

The princess was delighted. 'I must have it,' she said. 'What do you want for it?'

A hundred kisses in the mud—for a toy that would break in a week.
A hundred kisses in the mud—for a toy that would break in a week.

The swineherd, covered in mud and smelling of pigs, smiled. 'Ten kisses from the princess.' The ladies gasped; the princess drew back in horror. Kiss a swineherd? Impossible!

But the pot played so beautifully, and she wanted it so badly. 'Very well,' she said through gritted teeth, and kissed the swineherd ten times in the mud among the pigs, with her ladies holding their skirts around her to hide the disgrace.

She enjoyed the pot for a week. Then the swineherd crafted something new: a rattle that could play every waltz and polka ever composed.

The princess heard it jingling from the pigsty and knew she must have it. 'What is your price?' she asked, though she already knew the answer. 'One hundred kisses from the princess,' the swineherd said.

This time, she barely hesitated. She kissed him a hundred times in the mud while her ladies held their skirts up as a screen. What she did not know was that the emperor had been watching from his balcony, counting each kiss, growing angrier with every one.

By the time she reached a hundred, he had come down the stairs, ready to deliver judgment.

The Banishment

The emperor was furious. His daughter, a princess of the blood, kissing a swineherd in the mud like a common girl at a fair? He did not care about the magical pot or the wonderful rattle; he cared about dignity, about propriety, about what the princess's behavior meant for the royal family's reputation.

'Get out,' he shouted. 'Both of you. Leave my kingdom and never return.'

A hundred kisses in the mud—and her father threw her out forever.
A hundred kisses in the mud—and her father threw her out forever.

The princess wept and pleaded, but the emperor was firm. She was banished immediately, driven from the palace gates with nothing but the clothes on her back. The swineherd was expelled with her—they had been caught together, so they would be punished together.

She stood outside the city walls, homeless, disgraced, with only a pig keeper for company. Rain began to fall. The princess stood in the mud, the same mud where she had kissed the swineherd for toys, and began to cry in earnest.

'What will become of me?' she wept. 'If only I had married that prince who sent the rose and nightingale! At least he was a prince. Now I am ruined and alone.'

The swineherd watched her tears with an expression she could not read. Then, without a word, he stepped behind a tree. When he emerged, he was transformed: clean clothes, princely bearing, the dirt washed from his face.

The princess realized with mounting horror who he was and what she had done. She had rejected his greatest gifts but kissed him a hundred times in the mud for toys.

The Final Rejection

The prince stood before her in his true form—handsome, royal, everything she had wanted. The princess's tears changed to hope: perhaps he had done all this because he loved her, because he wanted to marry her anyway, because it was all some strange test that she could still pass.

She reached for him with desperate hands.

He had loved her enough to test her—and she had failed completely.
He had loved her enough to test her—and she had failed completely.

'I wanted to love you,' the prince said coldly. 'I sent you a rose that smelled like heaven, and you threw it away. I sent you a bird that sang like the angels, and you called it boring.'

'But for a pot that plays cheap tunes and a rattle that jingles, you kissed a pig keeper a hundred times in the mud,' he continued. His voice was ice. 'You are a princess who cannot recognize real beauty when it is offered. You deserve what you have become.'

He turned and walked away, leaving her standing in the rain outside her father's gates. She had lost everything: her home, her dignity, her chance at marriage with a prince who had truly loved her.

And why? Because she had valued artificial novelty over natural beauty, because she had traded kisses in mud for trinkets that would break in a week.

The prince returned to his kingdom and never thought of her again. The princess's fate is not recorded—perhaps she found work as a serving girl, perhaps she wandered until she died, perhaps she learned wisdom too late to save herself. The story does not care about her ending; it has made its point.

Some people cannot recognize value when it is offered, and some lessons are learned only when the chance to benefit from them has passed.

Aftermath

The Swineherd is a fairy tale without a happy ending—both characters end alone, punished in different ways for different faults. The princess is punished for shallowness, for valuing artificial things over natural beauty, for degrading herself for trinkets.

The prince is punished, perhaps, for cruelty—he manufactured the princess's humiliation and refused to offer mercy even when she recognized her mistakes. Andersen seems to suggest that some failures of character are irredeemable: the princess who rejected the rose and nightingale revealed something about herself that could not be fixed by repentance.

Modern readers may find this harsh, but the tale remains popular because its satire of superficiality is timeless. Every generation produces people who value cleverness over substance, novelty over depth, and Andersen's swineherd continues to stand in the pigsty, offering toys in exchange for kisses, testing whether we are any wiser than the princess who failed.

Why it matters

The choice to value appearance over care has a cost: the princess lost home, status and a chance at a different life when she traded true gifts for clever toys. This story reminds a reader that attention to what lasts matters in how communities hold one another; the cost of spectacle is often the quiet loss of trust and belonging. The last image is plain: a woman standing in steady rain, empty-handed.

Loved the story?

Share it with friends and spread the magic!

Join the Keepers of the Archive.

Help us publish more myths and tales, Your support keeps the legends alive. Your gift supports hosting, translation, and illustration

Reader's Corner

Curious what others thought of this story? Read the comments and share your own thoughts below!

Reader's Rated

0.0 Base on 0 Rates

Rating data

5LineType

0 %

4LineType

0 %

3LineType

0 %

2LineType

0 %

1LineType

0 %