|Centuries:||6th century – 7th century – 8th century|
|Decades:||610s 620s 630s – 640s – 650s 660s 670s|
|Years:||637 638 639 – 640 – 641 642 643|
|640 by topic|
|State leaders – Sovereign states|
|Birth and death categories|
|Births – Deaths|
|Establishment and disestablishment categories|
|Establishments – Disestablishments|
|Ab urbe condita||1393|
|Chinese calendar||己亥年 (Earth Pig)
3336 or 3276
— to —
庚子年 (Metal Rat)
3337 or 3277
|- Vikram Samvat||696–697|
|- Shaka Samvat||562–563|
|- Kali Yuga||3741–3742|
|Minguo calendar||1272 before ROC
|Seleucid era||951/952 AG|
|Thai solar calendar||1182–1183|
Year 640 (DCXL) was a leap year starting on Saturday (link will display the full calendar) of the Julian calendar. The denomination 640 for this year has been used since the early medieval period, when the Anno Domini calendar era became the prevalent method in Europe for naming years.
- February 27 – Pepin the Elder, Mayor of the Palace of Austrasia, dies and is succeeded by his son Grimoald. He becomes the head of the Frankish household and the most powerful man in the Frankish Kingdom (approximate date).
- King Chintila dies of natural causes after a 3-year reign, he permits the bishops wide authority in Hispania, Septimania and Galicia. He is succeeded by his son Tulga who becomes ruler of the Visigothic Kingdom (approximate date).
- At request of Porga of Croatia, one of the first dukes or princes (Croatian: knez) of Dalmatian Croatia, the Byzantine emperor Heraclius sends Christian missionaries to the Croatian Provinces (approximate date).
- The French city of Lille (according to the legend) is founded by Lydéric. He kills Phinaert in a duel to avenges his parents' deaths (approximate date).
- King Eadbald of Kent dies after a 24-year reign. He is succeeded by his sons, Eorcenberht and Eormenred who jointly rule the Kingdom of Kent (now South East England).
- Hartlepool Abbey in Northumbria (Northern England) is founded. Wooden huts surrounding a church are built in Saxon style.
- May – Siege of Babylon Fortress: The Rashidun army lay siege to Babylon Fortress in the Nile Delta (near Cairo). The next two months fighting remain inconclusive, the Byzantines having the upper hand by repulsing every Muslim assault.
- July 6 – Battle of Heliopolis: The Muslim Arab army (15,000 men) under 'Amr ibn al-'As defeat the Byzantine forces near Heliopolis (Egypt). Amr divides his troops into three parts, surrounding the Byzantines.
- December 21 – Muslim Arabs capture Babylon after a seven-month siege, during a night assault Arab warriors open the city gates. The Thebaid region (Upper Egypt) is annexed by the Rashidun Caliphate.
- Emperor Tai Zong of the Tang Dynasty begins a campaign against the Xiyu states (Western Regions) in the Tarim Basin. General Hou Junji captures the kingdom of Gaochang to solidify Chinese rule in Central Asia.
- Nestorian missionaries built the Daqin Pagoda in Chang'an (Shaanxi). Daqin is the name for the Roman Empire or the Near East.
- Disibod, Irish monk and hermit, arrives as a missionary in Francia. He begins his religious work in the Vosges and Ardennes.
- May 28 – Pope Severinus succeeds Honorius I as the 71st pope. He dies at Rome only two months after being consecrated.
- December 24 – Pope John IV succeeds Severinus as the 72nd pope. His election is accepted by the Exarchate of Ravenna.
- Al-Akhtal, Arab poet (approximate date)
- Arikesari Maravarman, king of the Pandyan Empire (approximate date)
- Asparukh, ruler of the Bulgarian Empire (approximate date)
- Godeberta, Frankish abbess (approximate date)
- Isonokami no Maro, Japanese statesman (d. 717)
- Kilian, Irish bishop (approximate date)
- Luo Binwang, Chinese poet (d. 684)
- Musa ibn Nusayr, Arab general (d. 716)
- Winnoc, Welsh abbot (approximate date)
- Wulfhere, king of Mercia (approximate date)
- Wulfram, archbishop of Sens (approximate date)
- Alena, Frankish martyr (approximate date)
- Arnulf of Metz, Frankish bishop and saint
- Bilal ibn Rabah al-Habashi, companion of Muhammed
- Chintila, king of the Visigoths (approximate date)
- Dushun, Chinese (Buddhist) patriarch (b. 557)
- Eadbald, king of Kent (approximate date)
- Eanswith, Anglo-Saxon princess (approximate date)
- Li Xiaogong, prince of the Tang Dynasty (b. 591)
- February 27 – Pepin the Elder, Mayor of the Palace
- August 2 – Pope Severinus
- Romanus, bishop of Rouen (approximate date)
- September 12 – Sak K'uk', queen of Palenque
- Tysilio, Welsh prince and bishop
- Yazid ibn Abi Sufyan, Arab general
- Butler, Alfred, "The Arab Conquest of Egypt and the Last Thirty years of Roman Dominion", p. 222
- Al Farooq, Umar by Muhammad Husayn Haykal, chapter nr. 21
- Hill, John E. (2003). "The Kingdom of Da Quin". The Western Regions according to the Hou Hanshu (2nd ed.). Retrieved 2008-11-30