End of the universe

The end of the Universe, known to the Time Lords as "Event Two", was an event that took place far off into the future where the universe, or N-Space, would collapse in on itself due to two factors: the fact that the universe was a closed system; and the constant build up of entropy.

Before 1981, the universe had already passed the point of collapse. Having discovered this, the Logopolitans created Charged Vacuum Emboitments which opened N-Space into another universe, E-Space, allowing entropy into E-Space. Though Logopolis was destroyed in 1981, the CVEs were rebooted and still continued to feed entropy from our universe into E-Space. (DW: Logopolis)

The Panjistri created the God Machine in an attempt to prevent the end of the Universe. (NA: Timewyrm: Apocalypse)

The end of the Universe has been projected to occur in varied times, including the years 60,000,000,000 AD (BFA: Zagreus), 100,000,000,000,000 AD (DW: Utopia) and 100,000,000,000,000,000,000,000,000,000,000 (One hundred nonillion) AD. (PDA: The Infinity Doctors)
 * The figure given in The Infinity Doctors was likely a result of the continued existence of the Time Lords. When they were destroyed in the Last Great Time War, it may have shortened the lifespan of the universe. Alternatively, and more likely, the crew of the TV series may have simply ignored the latter figure, making it uncanon.

The universe ended sometime around the year 100,000,000,000,000 when the galaxies collapsed and all the great civilisations had died out. (DW: Utopia)

The Doctor and Romana watched the Universe end from some unknown vantage point. As the dimensions collapsed, the Doctor gave Romana the last Rolo in the Universe. (ST: Special Occasions: 2. Do You Love Anyone Enough?)

When the TARDIS exploded on the 26th June 2010, it brought about the end of the universe, but the universe was reset through use of a restoration field in the Pandorica. (DW: The Pandorica Opens/The Big Bang)