Top of page

A color head and shoulders portrait of Thomas Jefferson, lit in soft shades of yellow and brown
Thomas Jefferson. Portrait: Rembrandt Peale.

Jefferson’s Secret Cipher for the Lewis and Clark Expedition

Share this post:

This article also appears in the March/April issue of the Library of Congress Magazine.

In May 1804, Meriwether Lewis and William Clark set off into the great unknown of the Louisiana Territory, far from help and far from home. Ahead lay vast prairies, endless mountain ranges, uncharted streams, untold dangers.

Their mission: lead the Corps of Discovery across the continent, establish relations with Native peoples they met along the way, document plant and animal life and, most importantly, find a practical water route to the Pacific.

President Thomas Jefferson, who had ordered the expedition, expected no regular communication from the corps. But he did hope that traders or Natives might help get occasional messages back to Washington. Some of those communications, he believed, might contain sensitive information best kept secret.

Long fascinated by encryption, Jefferson devised a special cipher for use by the expedition and sent it to Lewis. Only they would understand any messages encoded with it.

“Avail yourself of these means to communicate to us, at seasonable intervals, a copy of your journal, notes & observations of every kind,” Jefferson wrote to Lewis on June 20, 1803, “putting into cypher whatever might do injury if betrayed.”

Two versions of the cipher, handwritten by the president, are preserved in the Jefferson papers held by the Library’s Manuscript Division. Both used grids of letters, numbers and symbols to encrypt and decode messages.

A grid of letters and numbers with writing beneath
A portion of Jefferson’s cipher. Manuscript Division.

In the earlier version, Jefferson proposed two different methods to use the cipher, one employing a previously agreed-upon keyword to encode letters of the alphabet.

At the very bottom of the page, he provided an example:

Jsfjwawpmfsxxiawprjjlxxzpwqxweudvsdmf&gmlibexpxu&izxpseer

Using the keyword “artichoke,” the incomprehensible string of letters and symbols reveals its hidden message: “I am at the head of the Missouri. All well, and the Indians so far friendly.”

Jefferson made a second, slightly revised version of the cipher and sent it to Lewis to carry west. Lewis never found the opportunity to use the cipher, which today remains a curious relic of a bold mission across a wild continent.

Subscribe to the blog— it’s free!

Add a Comment

This blog is governed by the general rules of respectful civil discourse. You are fully responsible for everything that you post. The content of all comments is released into the public domain unless clearly stated otherwise. The Library of Congress does not control the content posted. Nevertheless, the Library of Congress may monitor any user-generated content as it chooses and reserves the right to remove content for any reason whatever, without consent. Gratuitous links to sites are viewed as spam and may result in removed comments. We further reserve the right, in our sole discretion, to remove a user's privilege to post content on the Library site. Read our Comment and Posting Policy.


Required fields are indicated with an * asterisk.