Short answer
On-page SEO is everything on your own pages: content, titles, headings, internal links. Off-page SEO is the signals from elsewhere, mainly links from other sites, plus mentions and reviews. On-page decides whether a page is a good answer. Off-page decides how much Google trusts it compared with the competition. You need both, usually in that order.
The split is a convenient way to divide the work, not a description of how Google thinks. Google does not run an on-page score and an off-page score and add them up. But the distinction is useful because the two need different skills, different budgets and different timescales.
On-page SEO: what you control
On-page work happens on your own site. It covers what the page says and whether it matches what the searcher wants; the title and headings; the internal links in and out of the page; images and alt text; the meta description; and the URL. Some people fold technical SEO into on-page, but I find it clearer to treat it separately, because crawling and indexing problems need different diagnosis.
The defining feature of on-page work is control. You can change a title today and Google can see it on its next crawl. Nobody else has to agree.
Off-page SEO: what others say about you
Off-page work is about signals that originate elsewhere. Links from other websites are the largest part: Google has always used them to discover pages and to judge their importance, and it still does. Brand mentions, reviews, local citations and press coverage are the rest.
The defining feature here is the lack of control. You can earn a link but you cannot place it, at least not legitimately. Google’s spam policies treat buying or selling links for ranking purposes as link spam, along with excessive link exchanges and large-scale article campaigns with keyword-rich anchors.
How they work together
A simple way to think about it: on-page SEO makes a page eligible, and off-page SEO makes it competitive.
A page that does not match the query will not rank however many links point at it. A page that matches perfectly can still lose to a competitor with far more trust built up from other sites. The page that wins usually has both.
Links also behave differently depending on what they point at. Ahrefs found that the total traffic of the pages linking to you correlated with your rankings better than the raw number of links, across 44,589 keywords. A few links from pages real people read beat a pile from pages nobody visits.
Which should you do first?
On-page, almost always. It is cheaper, faster and fully in your control, and links pointing at weak pages are wasted. I would want a page that genuinely answers the query, with a clear title, sensible headings and a few internal links from related pages, before spending anything on links.
There is one exception. If your pages are already as good as or better than the ones ranking above you, and those competitors have far stronger link profiles, more on-page work will not close the gap. That is the point where off-page becomes the priority.
Internal links sit in the middle
Internal links are technically on-page, since they are on your site and fully in your control. But they do the same job as external links: they tell Google which pages matter and pass authority around. On most sites I audit, internal linking is the cheapest lever available and the least used. Before buying or chasing a single external link, make sure your own site is pointing its existing strength at the pages that need it.
Common mistakes on each side
On-page: chasing tags while ignoring intent; rewriting meta descriptions sitewide while service pages stay thin; stuffing keywords into headings.
Off-page: buying link packages by the month; building links to the homepage when the pages that need help are deeper; submitting to hundreds of directories; disavowing links on the basis of a tool’s toxicity score.
How to tell which one is your gap
Compare your page with the top three results for your target query. If theirs answer the question better, are more specific or are a different kind of page, your gap is on-page. If yours is as good or better, check their link profiles. If they have dozens of relevant referring sites and you have a handful, your gap is off-page.
Most sites I look at have an on-page gap they have not noticed, because they assumed the problem was links.
The timescales are different
On-page changes can show within days or weeks, once Google recrawls the page. Off-page work builds over months, because links are earned slowly and their effect accumulates. That difference alone is a good reason to do on-page work first: you find out quickly whether it moved anything, and you are not waiting a quarter to learn the page itself was the problem.
Either way, measure the right thing. Judge on-page work by impressions and position on the specific page. Judge off-page work by the pages the links point at, over a longer window.
If you are not sure which side your problem is on, my technical SEO diagnosis compares your pages with what actually ranks, and I’ll tell you if the gap is really links instead.
More questions about on-page SEO
- What is on-page SEO?
- Are title tags still relevant for SEO?
- How do you write an SEO-friendly meta description?
- What are H1, H2 and H3 tags, and when should you use them?
See all 5 questions about on-page SEO or browse every SEO question I answer.
