On the completion of his attendance at the High School, he was sent to reside with some relations at Kelso; and in this interesting locality his growing attachment to the national minstrelsy and legendary lore received a fresh impulse. On his return to Edinburgh he entered the University, in which he matriculated as a student of Latin and Greek, in October 1793. His progress was not more marked than it had been at the High School, insomuch that Mr Dalziel, the professor of Greek, was induced to give public expression as to his hopeless incapacity. The professor fortunately survived to make ample compensation for the rashness of his prediction.

The juvenile inclinations of the future poet were entirely directed to a military life; but his continued lameness interposed an insuperable difficulty, and was a source of deep mortification. He was at length induced to adopt a profession suitable to his physical capabilities, entering into indentures with his father in his fourteenth year. To his confinement at the desk, sufficiently irksome to a youth of his aspirations, he was chiefly reconciled by the consideration that his fees as a clerk enabled him to purchase books.

Rapid growth in a constitution which continued delicate till he had attained his fifteenth year, led to his bursting a blood-vessel in the second year of his apprenticeship. While precluded from active duty, being closely confined to bed, and not allowed to exert himself by speaking, he was still allowed to read; a privilege which accelerated his acquaintance with general literature. To complete his recovery, he was recommended exercise on horseback; and in obeying the instructions of his physician, he gratified his own peculiar tastes by making himself generally familiar with localities and scenes famous in Scottish story. On the restoration of his health, he at length became seriously engaged in the study of law for several continuous years, and, after the requisite examinations, was admitted as an advocate, on the 10th of July 1792, when on the point of attaining his twenty-first year.

In his twelfth year, Scott had composed some verses for his preceptor and early friend Dr Adam, which afforded promise of his future excellence. But he seems not to have extensively indulged, in early life, in the composition of poetry, while his juvenile productions in prose wore a stiff formality. On being called to the bar, he at first carefully refrained, according to his own statement, from claiming the honour of authorship, lest his brethren or the public should suppose that his habits were unsuitable to a due attention to the duties of his profession. He was relieved of dependence on professional employment by espousing, in December 1797, Miss Carpenter, a young French gentlewoman, possessed of a considerable annuity, whose acquaintance he had formed at Gilsland, a watering-place in Cumberland. In 1800 he was appointed Sheriff of Selkirkshire, with a salary of £300 a year. While he continued in his father's office he had made himself familiar with the French and Italian languages, and had read many of their more celebrated authors, especially the writings of Tasso and Ariosto. Some years after he came to the bar, he was induced to acquaint himself with the ballad poetry of Germany, then in vogue, through the translations of Mr Lewis, whose friendship he had recently acquired. In 1796 he made his first adventure as an author by publishing translations of "Lenoré," and "The Wild Huntsman" of Bürger. The attempt proved unsuccessful; but, undismayed, he again essayed his skill in translation by publishing, in 1799, an English version of Goëthe's "Goetz of Berlichingen." His success as an author was, however, destined to rest on original performances, illustrative of the chivalry of his own land.

Towards the recovery and publication of the ancient ballads and songs of the Scottish borders, which had only been preserved by the recitations of the peasantry, Scott had early formed important intentions. The independence of his circumstances now enabled him to execute his long-cherished scheme. He made periodical excursions into Liddesdale, a wild pastoral district on the Scottish border, anciently peopled by the noted Elliots and Armstrongs, in quest of old ballads and traditions; and the fruits of his research, along with much curious information, partly communicated to him by intelligent correspondents, he gave to the world, in 1802, in two volumes octavo, under the title of "Minstrelsy of the Scottish Border." He added in the following year a third volume, consisting of imitations of ancient ballads, composed by himself and others. These volumes issued from the printing-press of his early friend and school-fellow, Mr James Ballantyne of Kelso, who had already begun to indicate that skill in typography for which he was afterwards so justly celebrated. In 1804 he published, from the Auchinleck Manuscript in the Advocates' Library, the ancient metrical tale of "Sir Tristrem;" and, in an elaborate introduction, he endeavoured to prove that it was the composition of Thomas of Ercildoune, better known as Thomas the Rhymer. He published in 1805 "The Lay of the Last Minstrel," an original ballad poem, which, speedily attaining a wide circulation, procured for him an extensive reputation, and the substantial reward of £600.

The prosperity of the poet rose with his fame. In the year following that which produced the "Lay," he received his appointment as a principal clerk of the Court of Session, an office which afterwards brought him £1200 a-year. To literary occupation he now resolved to dedicate his intervals of leisure. In 1808 he produced "Marmion," his second great poem, which brought him £1000 from the publisher, and at once established his fame. During the same year he completed the heavy task of editing the works of Dryden, in eighteen volumes. In 1809 he edited the state papers and letters of Sir Ralph Sadler, and became a contributor to the Edinburgh Annual Register, conducted by Southey. "The Lady of the Lake," the most happily-conceived and popular of his poetical works, appeared in 1810; "Don Roderick," in 1811; "Rokeby," in 1813; and "The Lord of the Isles," in 1814. "Harold the Dauntless," and "The Bridal of Triermain," appeared subsequently, without the author's name.

As a poet, Scott had now attained a celebrity unrivalled among his contemporaries, and it was in the apprehension of compromising his reputation, that, in attempting a new species of composition, he was extremely anxious to conceal the name of the author. The novel of "Waverley," which appeared in 1814, did not, however, suffer from its being anonymous; for, although the sale was somewhat heavy at first, the work soon afterwards reached the extraordinary circulation of twelve thousand copies. Contrary to reasonable expectation, however, the author of "Waverley" did not avow himself, and, numerous as was the catalogue of prose fictions which, for more than twenty years, proceeded from his pen, he continued as desirous of retaining his secret as were his female contemporaries, Lady Nairn and Lady Anne Barnard, to cast a veil over their poetical character. The rapidity with which the "Great Unknown" produced works of fiction, was one of the marvels of the age; and many attempts were made to withdraw the curtain which concealed the mysterious author. Successive years produced at least one, and often two, novels of a class infinitely superior to the romances of the past age, all having reference to the manners and habits of the most interesting and chivalrous periods of Scottish or British history, which, in these works, were depicted with a power and vivacity unattained by the most graphic national historians. Subsequently to the publication of "Guy Mannering" and "The Antiquary," in 1815 and 1816, and as an expedient to sustain the public interest, Scott commenced a new series of novels, under the title of "Tales of my Landlord," these being professedly written by a different author; but this resort was abandoned as altogether unnecessary for the contemplated object. Each successive romance by the author of "Waverley" awakened renewed ardour and enthusiasm among the public, and commanded a circulation commensurate with the bounds in which the language was understood. Many of them were translated into the various European languages. In the year 1814 he had published an edition of the works of Swift, in nineteen volumes octavo.

For some years after his marriage, Scott had occupied a cottage in the romantic vicinity of Lasswade, near Edinburgh; but in 1804 he removed to Ashestiel, an old mansion, beautifully situated on the banks of the Tweed, seven miles above Selkirk, where, for several years, he continued to reside during the vacation of the Court. The ruling desire of his life was, that by the proceeds of his intellectual labour he might acquire an ample demesne, with a suitable mansion of his own, and thus in some measure realise in his own person, and in those of his representatives, somewhat of the territorial importance of those olden barons, whose wassails and whose feuds he had experienced delight in celebrating. To attain such distinction as a Scottish laird, or landholder, he was prepared to incur many sacrifices; nor was this desire exceeded by regard for literary reputation. It was unquestionably with a view towards the attainment of his darling object, that he taxed so severely those faculties with which nature had so liberally endowed him, and exhibited a prolificness of authorship, such as has rarely been evinced in the annals of literary history. In 1811 he purchased, on the south bank of the Tweed, near Melrose, the first portion of that estate which, under the name of Abbotsford, has become indelibly associated with his history. The soil was then a barren waste, but by extensive improvements the place speedily assumed the aspect of amenity and beauty. The mansion, a curious amalgamation, in questionable taste, of every species of architecture, was partly built in 1811, and gradually extended with the increasing emoluments of the owner. By successive purchases of adjacent lands, the Abbotsford property became likewise augmented, till the rental amounted to about £700 a-year—a return sufficiently limited for an expenditure of upwards of £50,000 on this favourite spot.

At Abbotsford the poet maintained the character of a wealthy country gentleman. He was visited by distinguished persons from the sister kingdom, from the Continent, and from America, all of whom he entertained in a style of sumptuous elegance. Nor did his constant social intercourse with his visitors and friends interfere with the regular prosecution of his literary labours: he rose at six, and engaged in study and composition till eleven o'clock. During the period of his residence in the country, he devoted the remainder of the day to his favourite exercise on horseback, the superintendence of improvements on his property, and the entertainment of his guests. In March 1820, George IV., to whom he was personally known, and who was a warm admirer of his genius, granted to him the honour of a baronetcy, being the first which was conferred by his Majesty after his accession. Prior to this period, besides the works already enumerated, he had given to the world his romances of "The Black Dwarf," "Old Mortality," "Rob Roy," "The Heart of Midlothian," "The Bride of Lammermoor," "A Legend of Montrose," and "Ivanhoe." The attainment of the baronetcy appears to have stimulated him to still greater exertion. In 1820 he produced, besides "Ivanhoe," which appeared in the early part of that year, "The Monastery" and "The Abbot;" and in the beginning of 1821, the romance of "Kenilworth," being twelve volumes published within the same number of months. "The Pirate" and "The Fortunes of Nigel" appeared in 1822; "Peveril of the Peak" and "Quentin Durward," in 1823; "St Ronan's Well" and "Redgauntlet," in 1824; and "The Tales of the Crusaders," in 1825.

During the visit of George IV. to Scotland, in 1822, Sir Walter undertook the congenial duty of acting as Master of Ceremonies, which he did to the entire satisfaction of his sovereign and of the nation. But while prosperity seemed to smile with increasing brilliancy, adversity was hovering near. In 1826, Archibald Constable and Company, the famous publishers of his works, became insolvent, involving in their bankruptcy the printing firm of the Messrs Ballantyne, of which Sir Walter was a partner. The liabilities amounted to the vast sum of £102,000, for which Sir Walter was individually responsible. To a mind less balanced by native intrepidity and fortified by principle, the apparent wreck of his worldly hopes would have produced irretrievable despondency; but Scott bore his misfortune with magnanimity and manly resignation. He had been largely indebted to both the establishments which had unfortunately involved him in their fall, in the elegant production of his works, as well as in respect of pecuniary accommodation; and he felt bound in honour, as well as by legal obligation, fully to discharge the debt. He declined to accept an offer of the creditors to be satisfied with a composition; and claiming only to be allowed time, applied himself with indomitable energy to his arduous undertaking, at the age of fifty-five, in the full determination, if his life was spared, of cancelling every farthing of his obligations. At the crisis of his embarrassments he was engaged in the composition of "Woodstock," which shortly afterwards appeared. The "Life of Napoleon," which had for a considerable time occupied his attention, was published in 1827, in nine vols. octavo. In the course of its preparation he had visited both London and Paris in search of materials. In the same year he produced "Chronicles of the Canongate," first series; and in the year following, the second series of those charming tales, and the first portion of his juvenile history of Scotland, under the title of "Tales of a Grandfather." A second portion of these tales appeared in 1829, and the third and concluding series in 1830, when he also contributed a graver History of Scotland in two volumes to Lardner's Cabinet Cyclopædia. In 1829 likewise appeared "Anne of Geierstein," a romance, and in 1830 the "Letters on Demonology and Witchcraft." In 1831 he produced a series of "Tales on French History," uniform with the "Tales of a Grandfather," and his novels, "Count Robert of Paris," and "Castle Dangerous," as a fourth series of "Tales of My Landlord." Other productions of inferior mark appeared from his pen; he contributed to the Edinburgh Review, during the first year of its career; wrote the articles, "Chivalry," "Romance," and "Drama," for the sixth edition of the Encyclopædia Britannica; and during his latter years contributed somewhat copiously to the Quarterly Review.