• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • 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

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • 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
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

Meta's Hyperion data-center site in Northeastern Louisiana.
NewslettersEye on AI
Big Tech will spend nearly $700 billion on AI this year. No one knows where the buildout ends
By Sharon GoldmanApril 30, 2026
1 hour ago
Financial analyst working at a computer
Personal FinancePersonal Finance Evergreen
AI’s entry-level hiring nightmare is another gift to boomers’ retirement plans
By Catherina GioinoApril 30, 2026
3 hours ago
TOPSHOT - Alphabet Inc. and Google CEO Sundar Pichai speaks during the inauguration of a Google Artificial Intelligence (AI) hub in Paris on February 15, 2024. (Photo by ALAIN JOCARD / AFP via Getty Images)
AIGoogle
Google and Amazon’s biggest profit driver last quarter was their Anthropic stakes—which they haven’t sold
By Eva RoytburgApril 30, 2026
3 hours ago
Elon Musk arrives at the courthouse during his trial against OpenAI
CryptoElon Musk
Elon Musk likes Bitcoin—but he just told a jury most crypto coins are scams
By Jack KubinecApril 30, 2026
4 hours ago
Jamie Dimon, chief executive officer of JPMorgan Chase & Co., at the Norges Bank Investment Management annual investment conference in Oslo, Norway, on Tuesday, April 28, 2026.
EconomyJamie Dimon
For years, the risk Jamie Dimon was most concerned about was geopolitics. His answer has shifted
By Eleanor PringleApril 30, 2026
5 hours ago
google
InvestingMarkets
Google shares hit all-time high on blowout earnings, market cap doubles to $4.4 trillion in just a year
By Michael Liedtke and The Associated PressApril 30, 2026
6 hours ago

Most Popular

Apple cofounder Ronald Wayne—whose stake would be worth up to $400 billion had he not sold it in 1976—says that at 91, he has no regrets
Success
Apple cofounder Ronald Wayne—whose stake would be worth up to $400 billion had he not sold it in 1976—says that at 91, he has no regrets
By Preston ForeApril 27, 2026
3 days ago
‘They left me no choice’: Powell isn’t going anywhere—blocking Trump from another Fed appointee
Banking
‘They left me no choice’: Powell isn’t going anywhere—blocking Trump from another Fed appointee
By Eva RoytburgApril 29, 2026
1 day ago
Jamie Dimon gets candid about national debt: ‘There will be a bond crisis, and then we’ll have to deal with it’
Economy
Jamie Dimon gets candid about national debt: ‘There will be a bond crisis, and then we’ll have to deal with it’
By Eleanor PringleApril 29, 2026
1 day ago
Google Cloud revenue is now 18% of Alphabet's business. Is this the beginning of the end of Google's search identity?
Big Tech
Google Cloud revenue is now 18% of Alphabet's business. Is this the beginning of the end of Google's search identity?
By Alexei OreskovicApril 29, 2026
18 hours ago
‘The cost of compute is far beyond the costs of the employees’: Nvidia executive says right now AI is more expensive than paying human workers
AI
‘The cost of compute is far beyond the costs of the employees’: Nvidia executive says right now AI is more expensive than paying human workers
By Sasha RogelbergApril 28, 2026
3 days ago
Elon Musk says saving for retirement is irrelevant because AI is going to create a world of abundance: 'It won't matter'
Future of Work
Elon Musk says saving for retirement is irrelevant because AI is going to create a world of abundance: 'It won't matter'
By Marco Quiroz-GutierrezApril 26, 2026
4 days ago

© 2026 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.