• Home
  • News
  • Fortune 500
  • Tech
  • Finance
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
Tech

How Long It Takes to Break a Passcode

Robert Hackett
By
Robert Hackett
Robert Hackett
Down Arrow Button Icon
Robert Hackett
By
Robert Hackett
Robert Hackett
Down Arrow Button Icon
March 18, 2016, 4:50 PM ET
Apple Supporters Protest In Front Of FBI Headquarters In Washington DC
WASHINGTON, DC - FEBRUARY 23: The official seal of the Federal Bureau of Investigation is seen on an iPhone's camera screen outside the J. Edgar Hoover headquarters February 23, 2016 in Washington, DC. Last week a federal judge ordered Apple to write software that would allow law enforcement agencies investigating the December 2, 2015 terrorist attack in San Bernardino, California, to hack into one of the attacker's iPhone. Apple is fighting the order, saying it would create a way for hackers, foreign governments, and other nefarious groups to invade its customers' privacy. (Photo by Chip Somodevilla/Getty Images)Chip Somodevilla—Getty Images

Four to six digits stand between most iPhone users’ personal data and the prying eyes of snoops, criminals, and investigators. To access records stored within, a hacker has little choice but to barrage a lock screen with possible PINs until the electronic tumblers click. Problematically, these “brute-force” attempts trigger built-in time delays—and potential data wipes.

A court recently ordered Apple (AAPL) to develop an operating system stripped of such barriers to aid an FBI investigation into the December shootings in San Bernardino, Calif.  The company has emphatically objected for fear that the tool could be abused. Depending on the strength of a user’s passcode, however, anyone’s iPhone could easily remain a black box.

Use the tool below to test how long on average it would take some to crack various passcodes in a world where a crippled version of Apple’s software—of the sort that law enforcement desires—hypothetically got out into the wild. Though Fortune doesn’t store any of the entered information, we do not advise punching in your actual passcode. Who knows what key-loggers or man-in-the-middle attackers might be lurking on your machine or network?


Interactive by Analee Kasudia and Stacy Jones

Want to boost your security? Consider increasing the number (or type) of characters required to unlock your handset. Here are 10 simple steps for anyone running iOS 9, the latest version of Apple’s operating system. Just first make sure there aren’t any people (or cameras!) peering over your shoulder.

1.) Unlock your phone.
2.) Tap the “Settings” icon.
3.) Tap “Touch ID & Passcode” or “Passcode.”
4.) Enter current passcode.
5.) Tap “Change Passcode.”
6.) Enter current passcode.
7.) Tap “Passcode Options.”
8.) Tap “Custom Alphanumeric Code.”
9.) Create your new passcode using a combination of numbers, case sensitive letters, and special characters.
10.) Celebrate your newfound security! And remember this passcode!

For more, here’s a handy breakdown of how long on average it might take to break a passcode:

CHA.03.15.16.featured
Click to enlarge.Source: Apple; Dan Guido, CEO, Trail of Bits

A version of this article appears in the March 15, 2016 issue of Fortune.

About the Author
Robert Hackett
By Robert Hackett
Instagram iconLinkedIn iconTwitter icon
See full bioRight Arrow Button Icon

Latest in Tech

CryptoCryptocurrency
So much of crypto is not even real—but that’s starting to change
By Pete Najarian and Joe BruzzesiDecember 7, 2025
4 hours ago
Elon Musk
Big TechSpaceX
SpaceX to offer insider shares at record-setting $800 billion valuation
By Edward Ludlow, Loren Grush, Lizette Chapman, Eric Johnson and BloombergDecember 6, 2025
18 hours ago
Big TechApple
Apple rocked by executive departures, with chip chief at risk of leaving next
By Mark Gurman and BloombergDecember 6, 2025
20 hours ago
Nvidia CEO Jensen Huang said China is better equipped for an AI data center buildout than the U.S.
AITech
Nvidia CEO says data centers take about 3 years to construct in the U.S., while in China ‘they can build a hospital in a weekend’
By Nino PaoliDecember 6, 2025
23 hours ago
Arts & EntertainmentMedia
Former Amazon Studios boss warns the Netflix-Warner Bros. deal will make Hollywood ‘a system that circles a single sun’
By Jason MaDecember 6, 2025
24 hours ago
Jay Clayton
LawCrime
25-year DEA veteran charged with helping Mexican drug cartel launder millions of dollars, secure guns and bombs
By Dave Collins, Michael R. Sisak and The Associated PressDecember 6, 2025
1 day ago

Most Popular

placeholder alt text
AI
Nvidia CEO says data centers take about 3 years to construct in the U.S., while in China 'they can build a hospital in a weekend'
By Nino PaoliDecember 6, 2025
23 hours ago
placeholder alt text
Real Estate
The 'Great Housing Reset' is coming: Income growth will outpace home-price growth in 2026, Redfin forecasts
By Nino PaoliDecember 6, 2025
1 day ago
placeholder alt text
Economy
The most likely solution to the U.S. debt crisis is severe austerity triggered by a fiscal calamity, former White House economic adviser says
By Jason MaDecember 6, 2025
18 hours ago
placeholder alt text
Big Tech
Mark Zuckerberg rebranded Facebook for the metaverse. Four years and $70 billion in losses later, he’s moving on
By Eva RoytburgDecember 5, 2025
2 days ago
placeholder alt text
Asia
Despite their ‘no limits’ friendship, Russia is paying a nearly 90% markup on sanctioned goods from China—compared with 9% from other countries
By Jason MaNovember 29, 2025
8 days ago
placeholder alt text
Success
Nvidia CEO Jensen Huang admits he works 7 days a week, including holidays, in a constant 'state of anxiety' out of fear of going bankrupt
By Jessica CoacciDecember 4, 2025
3 days ago
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map

© 2025 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.