2003–2006: Thefacebook, Thiel investment, and name change
Zuckerberg wrote a program called "Facemash" in 2003 while attending
Harvard University as a
sophomore (second year student). According to
The Harvard Crimson, the site was comparable to
Hot or Not and used "photos compiled from the online facebooks of nine Houses, placing two next to each other at a time and asking users to choose the “hotter” person".
 Facemash attracted 450 visitors and 22,000 photo-views in its first four hours online.
 The Facemash site was quickly forwarded to several campus group list-servers, but was shut down a few days later by the Harvard administration. Zuckerberg faced expulsion and was charged by the administration with breach of security, violating
copyrights, and violating individual privacy. Ultimately, the charges were dropped.
 Zuckerberg expanded on this initial project that semester by creating a social study tool ahead of an
art history final exam. He uploaded all art images to a website, each of which was featured with a corresponding comments section, then shared the site with his classmates, and people started sharing notes.
Original layout and name of Thefacebook, 2004
face book" is a student directory featuring photos and basic information.
 In 2003, there were no universal online facebooks at Harvard, with only paper sheets distributed
 and private online directories.
 Zuckerberg told the Crimson that "Everyone’s been talking a lot about a universal face book within Harvard. [...] I think it’s kind of silly that it would take the University a couple of years to get around to it. I can do it better than they can, and I can do it in a week."
 In January 2004, Zuckerberg began writing code for a new website, known as "TheFacebook", with the inspiration coming from an editorial in the Crimson about Facemash, stating that "It is clear that the technology needed to create a centralized Website is readily available ... the benefits are many."
 On February 4, 2004, Zuckerberg launched "TheFacebook", originally located at thefacebook.com.
Six days after the site launched, Harvard seniors
Tyler Winklevoss, and
Divya Narendra accused Zuckerberg of intentionally misleading them into believing that he would help them build a social network called
HarvardConnection.com. They claimed that he was instead using their ideas to build a competing product.
 The three complained to The Harvard Crimson and the newspaper began an investigation. They later filed a lawsuit against Zuckerberg, subsequently settling in 2008
 for 1.2 million
shares (worth $300 million at Facebook's
Membership was initially restricted to students of
Harvard College; within the first month, more than half the undergraduates at Harvard were registered on the service.
Eduardo Saverin (business aspects), Dustin Moskovitz (programmer),
Andrew McCollum (graphic artist), and
Chris Hughes joined Zuckerberg to help promote the website. In March 2004, Facebook expanded to the universities of
 It later opened to all
Ivy League colleges,
New York University,
MIT, and gradually most universities in the United States and Canada.
In mid-2004, entrepreneur
Sean Parker—an informal advisor to Zuckerberg—became the company's president.
 In June 2004, Facebook moved its operations base to
Palo Alto, California.
 It received its first investment later that month from
 In 2005, the company dropped "the" from its name after purchasing the
domain name facebook.com for
 The domain facebook.com belonged to AboutFace Corporation before the purchase. This website last appeared on April 8, 2005;
 from April 10, 2005 to August 4, 2005, this domain gave a 403 error.
In May 2005,
Accel Partners invested $12.7 million in Facebook, and
 added $1 million of his own money. A high-school version of the site was launched in September 2005, which Zuckerberg called the next logical step.
 (At the time, high-school networks required an invitation to join.)
 Facebook also expanded membership eligibility to employees of several companies, including
Apple Inc. and Microsoft.
2006–2012: Public access, Microsoft alliance and rapid growth
On September 26, 2006, Facebook was opened to everyone at least 13 years old with a valid
 In late 2007, Facebook had 100,000 business pages (pages which allowed companies to promote themselves and attract customers). These started as group pages, but a new concept called company pages was planned.
 Pages began rolling out for businesses in May 2009.
 On October 24, 2007, Microsoft announced that it had purchased a 1.6% share of Facebook for $240 million, giving Facebook a total implied value of around $15 billion. Microsoft's purchase included rights to place international advertisements on the social networking site.
In October 2008, Facebook announced that it would set up its international headquarters in
 Almost a year later, in September 2009, Facebook said that it had turned cash-flow positive for the first time.
 A January 2009
Compete.com study ranked Facebook the most used social networking service by worldwide
monthly active users.
Entertainment Weekly included the site on its end-of-the-decade "best-of" list saying, "How on earth did we stalk our exes, remember our co-workers' birthdays, bug our friends, and play a rousing game of
Scrabulous before Facebook?"
Traffic to Facebook increased steadily after 2009. The company announced 500 million users in July 2010,
 and according to its data, half of the site's membership used Facebook daily, for an average of 34 minutes, while 150 million users accessed the site by mobile. A company representative called the milestone a "quiet revolution."
 In November 2010, based on
SecondMarket Inc. (an exchange for privately held companies' shares), Facebook's value was $41 billion. The company had slightly surpassed
eBay to become the third largest American web company after
In early 2011, Facebook announced plans to move its headquarters to the former
Sun Microsystems campus in Menlo Park, California.
 In March 2011, it was reported that Facebook was removing approximately 20,000 profiles every day for violations such as spam, graphic content, and underage use, as part of its efforts to boost
Release of statistics by
DoubleClick showed that Facebook reached one trillion
page views in the month of June 2011, making it the most visited website tracked by DoubleClick.
 According to a
Nielsen study, Facebook had in 2011 become the second-most accessed website in the U.S. behind
2012–2013: IPO, lawsuits and one-billionth user
Facebook eventually filed for an
initial public offering on February 1, 2012.
held an initial public offering on May 17, 2012, negotiating a share price of US$38. The company was valued at $104 billion, the largest valuation to date for a newly listed public company.
 Facebook began selling stock to the public and trading on the
NASDAQ on May 18, 2012.
 Based on its 2012 income of $5 billion, Facebook joined the
Fortune 500 list for the first time in May 2013, ranked in position 462.
Facebook filed their S1 document with the
Securities and Exchange Commission on February 1, 2012. The company applied for a $5 billion IPO, one of the biggest offerings in the history of technology.
 The IPO raised $16 billion, making it the third-largest in U.S. history.
The shares began trading on May 18; the stock struggled to stay above the IPO price for most of the day, but set a record for the trading volume of an IPO (460 million shares).
 The first day of trading was marred by technical glitches that prevented orders from going through;
 only the technical problems and artificial support from underwriters prevented the stock price from falling below the IPO price on the day.
 In March 2012, Facebook announced App Center, a store selling applications that operate via the website. The store was to be available on
Android devices, and mobile web users.
Billboard on the
building welcomes Facebook to NASDAQ, 2012
On May 22, 2012, the
Yahoo! Finance website reported that Facebook's lead underwriters,
Morgan Stanley (MS),
JP Morgan (JPM), and
Goldman Sachs (GS), cut their earnings forecasts for the company in the middle of the IPO process.
 The stock had begun its freefall by this time, closing at 34.03 on May 21 and 31.00 on May 22. A
"circuit breaker" trading curb was used in an attempt to slow down the stock price's decline.
 Securities and Exchange Commission Chairman
Mary Schapiro, and
Financial Industry Regulatory Authority (FINRA) Chairman Rick Ketchum, called for a review of the circumstances surrounding the IPO.
Facebook's IPO was consequently investigated, and was compared to a "
pump and dump" scheme.
 A class-action lawsuit was filed in May 2012 because of the trading glitches, which led to botched orders.
 Lawsuits were filed, alleging that an underwriter for Morgan Stanley selectively revealed adjusted earnings estimates to preferred clients.
The other underwriters (MS, JPM, GS), Facebook's CEO and board, and NASDAQ also faced litigation after numerous lawsuits were filed, while SEC and FINRA both launched investigations.
 It was believed that adjustments to earnings estimates were communicated to the underwriters by a Facebook financial officer, who used the information to cash out on their positions while leaving the general public with overpriced shares.
 By the end of May 2012, Facebook's stock lost over a quarter of its starting value, which led
The Wall Street Journal to label the IPO a "fiasco".
 Zuckerberg announced to the media at the start of October 2012 that Facebook had passed the monthly active users mark of one billion.
 The company's data also revealed 600 million mobile users, 219 billion photo uploads, and 140 billion friend connections.
2013–present: Site developments, A4AI and 10th anniversary
On January 15, 2013, Facebook announced
Facebook Graph Search, which provides users with a "precise answer", rather than a link to an answer by leveraging the data present on its site.
 Facebook emphasized that the feature would be "privacy-aware," returning only results from content already shared with the user.
 On April 3, 2013, Facebook unveiled
Facebook Home, a user-interface layer for Android devices offering greater integration with the site.
HTC announced the
HTC First, a
smartphone with Home pre-loaded.
On April 15, 2013, Facebook announced an alliance across 19 states with the National Association of Attorneys General, to provide teenagers and parents with information on tools to manage social networking profiles.
 On April 19, 2013, Facebook officially modified its logo to remove the faint blue line at the bottom of the "F" icon. The letter F moved closer to the edge of the box.
Following a campaign by 100 advocacy groups, Facebook agreed to update its policy on hate speech. The campaign highlighted content promoting domestic and sexual violence against women, and used over 57,000 tweets and more than 4,900 emails that caused withdrawal of advertising from the site by 15 companies, including Nissan UK, House of Burlesque and Nationwide UK. The social media website initially responded by stating that "while it may be vulgar and offensive, distasteful content on its own does not violate our policies".
 It decided to take action on May 29, 2013, after it "become clear that our systems to identify and remove hate speech have failed to work as effectively as we would like, particularly around issues of gender-based hate."
On June 12, 2013, Facebook announced on its newsroom that it was introducing clickable
hashtags to help users follow trending discussions, or search what others are talking about on a topic.
 A July 2013 Wall Street Journal article identified the Facebook IPO as the cause of a change in the U.S.' national economic statistics, as the local government area of the company's headquarters,
San Mateo County, California, became the top wage-earning county in the country after the fourth quarter of 2012. The Bureau of Labor Statistics reported that the average weekly wage in the county was
US$3,240, 107% higher than the previous year. It noted the wages were "the equivalent of $168,000 a year, and more than 50% higher than the next-highest county,
New York County (better known as
Manhattan), at $2,107 a week, or roughly $110,000 a year."
Facebook was blocked by the Chinese government in 2009.
 In September 2013, the
South China Morning Post announced that the block would lifted in the
Shanghai Free Trade Zone "to welcome foreign companies to invest and to let foreigners live and work happily in the free-trade zone."
 However, a few days later, the
People's Daily, the official newspaper of the
Communist Party of China, dismissed the earlier report, reiterating the block on Facebook.
Facebook was announced as a member of
The Alliance for Affordable Internet (A4AI) in October 2013, when the A4AI was launched. The A4AI is a coalition of public and private organizations that includes
Intel and Microsoft. Led by
Sir Tim Berners-Lee, the A4AI seeks to make Internet access more affordable so that access is broadened in the developing world, where only 31% of people are online. Google will help to decrease Internet access prices so that they fall below the UN Broadband Commission's worldwide target of 5% of monthly income.
Reuters report, published on December 11, 2013, stated that
Standard & Poor's announced the placement of Facebook on its
S&P 500 index "after the close of trading on December 20."
 Facebook announced Q4 2013 earnings of $523 million (20 cents per share), an increase of $64 million from the previous year,
 as well as 945 million mobile users.
The company celebrated its 10th anniversary during the week of February 3, 2014.
 In each of the first three months of 2014, over one billion users logged into their Facebook account on a mobile device.
 As part of the company's second quarter results, Facebook announced in late July 2014 that mobile accounted for 62% of its advertising revenue, which is an increase of 21% from the previous year.
In 2014, Facebook bought
for $2.3 billion in stock and cash
, which released its first consumer virtual reality headset in 2016.
By September 2014, Facebook's market capitalization had risen to over $200 billion.
Alongside other American technology figures like
Jeff Bezos and
Tim Cook, Zuckerberg hosted visiting Chinese politician Lu Wei, known as the "Internet czar" for his influence in the enforcement of China's online policy, at Facebook's headquarters on December 8, 2014. The meeting occurred after Zuckerberg participated in a Q&A session at Tsinghua University in Beijing, China, on October 23, 2014, where he attempted to converse in Mandarin—although Facebook is banned in China, Zuckerberg is highly regarded among the people and was at the university to help fuel the nation's burgeoning entrepreneur sector.
 A book of Chinese president
Xi Jinping found on Zuckerberg's office desk attracted a great deal of attention in the media, after the Facebook founder explained to Lu, "I want them [Facebook staff] to understand socialism with Chinese characteristics."
As of January 21, 2015, Facebook's algorithm is programmed to filter out false or misleading content, such as fake news stories and hoaxes, and will be supported by users who select the option to flag a story as "purposefully fake or deceitful news". According to Reuters, such content is "being spread like a wildfire" on the social media platform. Facebook maintained that "satirical" content, "intended to be humorous, or content that is clearly labeled as satire," will be taken into account and should not be intercepted.
 The algorithm, however, has been accused of maintaining a "
filter bubble", where both material the user disagrees with
 and posts with a low level of likes, will also not be seen.
 In November 2015, Zuckerberg prolonged period of paternity leave from 4 weeks to 4 months.
On April 12, 2016, Zuckerberg revealed a decade-long plan for Facebook in a keynote address. His speech outlined his vision, which was centered around three main pillars: artificial intelligence, increased connectivity around the world and virtual and augmented reality.
 In June 2016 Facebook announced Deep Text, a natural language processing AI which will learn user intent and context in 20 languages.
In July 2016, a US$1 billion lawsuit was filed against the company alleging that it permitted the
Hamas group to use it to perform assaults that ended the lives of four people.
 Facebook released the blueprints of Surround 360 camera on
 In September 2016, it won an
Emmy for its Visual animated short "Henry".
In October 2016, Facebook announced a fee based communications tool called
Workplace that aims to "connect everyone" while at work. Users can create profiles, see updates from co-workers on their news feed, stream live video and participate in secure group chats.
 Facebook annually has an Oculus Connect conference.
 Following the 2016 presidential election, Facebook announced that it would further combat the spread of fake news by using fact checkers from sites like
Associated Press (AP), making reporting hoaxes easier through crowdsourcing, and disrupting financial incentives for spammers.
On January 17, 2017, Facebook COO
Sheryl Sandberg planning to open Station F, a startup incubator campus in Paris, France.
 On a six-monthly cycle, Facebook will work with ten to 15 data-driven startups in the location to help them develop their businesses.
On April 18, 2017, Facebook announced the beta launch of Facebook Spaces at Facebook's annual F8 developer conference in San Francisco.
 Facebook Spaces, a virtual reality app version of Facebook for the Facebook-owned Oculus VR goggles. In a virtual and shared space, users can access a curated selection of 360-degree photos and videos using their avatar, with the support of the controller. Users can also access their own photos and videos, and any media shared on their Facebook newsfeed.
 The beta app is currently available in the Oculus Store.
On October 16, 2017, Facebook acquired
tbh a social media app and will let it be independently-run similar to Instagram and WhatsApp