The Darién scheme was an unsuccessful attempt to establish a colony on the Isthmus of Panama.

The late 17th century was difficult economically for the Scots. A number of remedies for the desperate situation were enacted by the Parliament of 1695. The Bank of Scotland was established. The Act for the Settling of Schools established a parish-based system of public education throughout Scotland. Given the late development and deplorable state of public education in England this gave a substantial advantage to Scots for centuries to come. The Company of Scotland was chartered with capital to be raised by public subscription to trade with "Africa and the Indies."

In attempts to expand the Scots had earlier sent settlers to the English colony of New Jersey and had established an abortive colony at Stuart's Town in what is now South Carolina. The Company of Scotland soon became involved with the Darién scheme, an ambitious plan devised by William Paterson to establish a colony on the Isthmus of Panama in the hope of establishing trade with the Far East - the principle that led to the construction of the Panama Canal much later. The Company of Scotland easily raised subscriptions in London for the scheme. But the English Government was opposed to the idea, being at war with France and not wanting to offend Spain, which claimed the territory as part of New Granada and the English investors were forced to withdraw. Returning to Edinburgh the Company raised 400,000 pounds in a few weeks. Three small fleets with a total of 3000 men were eventally dispatched to Panama. It was a disaster. Poorly equipped; beset by incessant rain; under attack by the Spanish from nearby Cartagena; and refused aid by the English in the West Indies the colony was abandoned. Only 1000 survived and only one ship managed to return to Scotland. A desperate ship from the colony which called at Port Royal was refused assistance on the orders of the English government.

The failure of the Darien scheme has been cited as one of the motivations for the 1707 Act of Union.