Every map reader knows the moment an inset map serves: the main map shows the whole province, and one crowded corner, a city center, a delta, a harbor, needs to be ten times bigger without pushing everything else off the page. In QGIS that second view is not a screenshot pasted into a corner. It is a live second map frame on the same print layout, with its own extent, its own scale, and, if you set it up properly, its own set of layers. This guide builds the inset the way the Print Layout intends: one map theme per frame, layers locked before styling, and the overview rectangle that ties the two frames together drawn by the layout itself, not by your hand.
Home / GIS and Open Map Data for Beginners
QGIS Inset Map: A Second Frame, an Overview Rectangle, and a Scale of Its Own

Photo: Tahir Osman / Pexels
Two Frames, Locked Down: The Inset Checklist
Check off each step as you finish it. Your progress stays on this page.
0 of 7 complete
0% done
The Idea: Two Frames, One Layout, Two Themes
A QGIS print layout can hold any number of map items, and each map item renders the canvas through its own settings. The piece beginners miss is the map theme: a saved snapshot of which layers are visible and how they are styled, created in the main window's layer panel. An inset works cleanly when the main frame follows one theme (the full regional picture) and the inset frame follows another (only the layers the detail needs, perhaps styled larger and simpler). Without themes, both frames show the same layer stack, and you end up fighting visibility toggles that change both views at once. With themes, each frame is an independent editorial decision. Build the themes first, in the main window, and the layout work becomes assembly instead of argument.
Step by Step: Build the Inset
- In the main QGIS window, arrange the layers and styles for the main map, then save that combination as a map theme (the eye icon in the Layers panel, Add Theme). Name it for its job, for example Main Region.
- Rearrange layers for the detail view: fewer layers, bolder symbols, labels that survive enlargement. Save a second theme, for example City Detail.
- Open the print layout and place the main map item. In its Item Properties, set it to follow the Main Region theme and check Lock layers and Lock styles for layers, so later canvas changes cannot leak into the layout.
- Add a second map item where the inset belongs. Set its extent by zooming to the detail area, set it to follow the City Detail theme, and lock its layers and styles the same way.
- Give the inset its own scale, typed explicitly in its properties rather than left to whatever the drag produced. Inset scales are chosen numbers (the detail at exactly four times the main scale reads as intentional); a random scale reads as an accident.
- Frame the inset with a border and, if the layout style allows, a background, so the eye files it as a separate map and not a tear in the main one.

The Overview Rectangle: The Link Between the Frames
The professional touch is the overview: a rectangle drawn on the main map showing the ground the inset covers. QGIS draws it for you. Select the main map item, find the Overviews section in its Item Properties, and add an overview whose Map frame is the inset item. The layout now draws the inset's extent as a rectangle on the main frame and keeps it synchronized: move or rescale the inset, and the rectangle follows. Style the rectangle with a clear outline and no fill, or a light transparent fill, so it reads as a pointer rather than a region. Never draw this rectangle by hand with a shape item; a hand-drawn box is wrong the moment anyone adjusts the inset, and it will be adjusted.
Scale Discipline: Two Maps, Two Scale Bars
Each frame needs its own scale bar, bound to its own map item. Add two scale bar items and set each one's Map property to the frame it describes; a scale bar left pointing at the main map while sitting under the inset is the most common inset error in published maps, and it lies with complete confidence. The same rule applies to any scale text: type the inset's scale as text only if you also commit to updating it when the frame changes, or better, let the scale bar carry the information. North arrows, by contrast, are usually shared: one arrow for the layout unless a frame is rotated, in which case each rotated frame needs its own and the inset stops being a beginner technique.
When the Inset Is a Locator Instead
Everything above assumes the inset is a zoom-in. The mirror-image pattern is just as common: the main map is the detail (a trail network, a campus, a survey site), and the inset is the locator, a small wide view showing where the detail sits in its region or country. The mechanics are identical and the theme assignments swap: the main frame takes the detailed theme, the small frame takes a stripped theme with one boundary layer, one marker showing the main extent, and no labels smaller than the frame can hold. The overview rectangle matters even more here, because on a locator the rectangle is the entire point: it is the reader's answer to "where am I looking." Our full guide to the QGIS print layout covers the single-map composition this builds on.
Failure Modes Worth Knowing
Three things go wrong in practice. First, unlocked layers: you return to the main window, toggle layers for another job, and the layout silently changes. Lock layers and styles on every frame the moment its theme is set. Second, label collisions across frames: the inset theme inherits label settings sized for the main map; give the detail theme its own label sizes, because text that is elegant at the regional scale is a shout at four times enlargement. Third, extent drift: the inset was framed by eye, and its overview rectangle overlaps a boundary awkwardly; set the inset extent numerically or by selecting the feature it must contain, then lock the extent by leaving the frame alone. A fourth failure is worth adding because it is the one readers notice first: an inset with no visual separation from the main map, no border, no background, its edges dissolving into the geography beneath, so the eye reads one confused map instead of two clear ones. The frame is not decoration; it is punctuation, the bracket that tells the reader a different scale has begun. Give every inset its bracket. Each failure is a discipline failure, not a software failure, which is the good news: the fix is a habit, and the habit is themes, locks, and the drawn-for-you overview.
Choosing the Inset Extent: What Belongs in the Frame
The inset fails or succeeds on its extent, and the extent is an editorial choice, not a zoom level. Include the feature the reader came for, the context that orients it (the river it sits on, the junction it clusters around, the coastline it fronts), and nothing else. An inset that shows the whole city to locate one harbor repeats the main map at a different scale and earns nothing. An inset cropped so tight that the feature touches every edge disorients: the reader cannot tell which way the detail continues. The working rule is a margin of context on every side, roughly the width of the feature itself, and an extent set deliberately: type it, or define it from a selected feature's bounding box with a buffer, rather than accepting whatever a drag of the mouse produced. Then check the overview rectangle on the main frame: it should sit cleanly on recognizable geography, because that rectangle is the reader's bridge between the two views.
Styling the Inset So It Reads as Its Own Map
A good inset is recognizably a map, not a magnified smudge of the main one. Three styling decisions do most of the work, all made in the inset's theme before the layout is touched. First, simplify: drop the layers whose information lives at the regional scale (minor roads, small settlements, dense contour sets) and keep the layers the detail exists to show. Second, enlarge: symbols, line weights, and labels in the inset theme should be sized for the inset's scale, typically noticeably bolder than the same features on the main frame. Third, harmonize: keep the same color language as the main map, so water is the same blue and parks the same green in both frames; the reader should feel the two views are one map thinking at two distances, not two maps stapled together. Finish with the frame itself: a border weight slightly heavier than any line inside either map, and a white or very light background if the inset overlaps the main map's geography, so the boundary between the two views is unmistakable.
Export Checks for a Two-Frame Layout
Before exporting, audit the layout the way a reader will meet it. Read every piece of text that belongs to the inset and confirm it describes the inset: its scale bar, its title if it has one, any annotation. Confirm the overview rectangle is present, current, and styled as a pointer. Zoom the layout preview to the inset and check that its labels are legible at final print size, not at your monitor's zoom. Then export once and inspect the file itself, because the layout canvas is a forgiving liar: thin frame borders and light overview fills that looked fine on screen can vanish in print. A two-frame layout has twice the surface for this class of error, and the errors concentrate exactly where the reader's eye is being directed, into the detail you cared most about.
Related Guides
If this page answered part of the question, these GIS guides cover the rest of the same ground:
- QGIS Print Layout: Compose the Single Map This Builds On: The layout fundamentals, guides, and export discipline for the main frame.
- QGIS Symbology: The Beginner Renderers, Taught as a System: The styling the two themes in this guide snapshot and lock.
- QGIS Processing Toolbox: Run, Batch, Model, Repeat: Preparing the detail layers an inset usually needs.
- How to Use QGIS Plugins: The Plugin Manager, Done Right: The neighboring surface beginners confuse with layout tools.
- QGIS Rotate Map: Canvas Rotation, Layout Rotation, and the Grid Rules: The companion frame discipline: turning a Map item deliberately, grids included.
Frequently Asked Questions
How do I add an inset map in QGIS?
Add a second map item to the print layout, set its extent to the detail area, and bind it to its own map theme with layers and styles locked. Then select the main map item and add an overview in its Item Properties whose map frame is the inset, so the layout draws the linking rectangle itself.
What is a map theme in QGIS and why does an inset need one?
A map theme is a saved snapshot of layer visibility and styling from the main window. An inset needs one because the detail view usually wants different layers and bolder styling than the main map; without separate themes, both frames show the same stack and every visibility change hits both.
How do I show where the inset is located on the main map?
Use the Overviews section of the main map item's properties. Add an overview, set its Map frame to the inset item, and QGIS draws and maintains a rectangle on the main map showing the inset's extent.
Does an inset map need its own scale bar?
Yes. Every map frame needs a scale bar bound to that frame. A scale bar left pointing at the main map while placed under the inset states the wrong scale with total confidence, which is the most common inset error in published maps.
What is the difference between an inset and a locator map?
Direction. An inset zooms in: the main map is wide, the small frame is detail. A locator zooms out: the main map is the detail, and the small frame shows where it sits in a wider region. The QGIS mechanics, themes, locks, and overview rectangle, are the same either way.
Photo credits: Tahir Osman (Pexels); Orhan Pergel (Pexels). Photos are served from this site; follow the credit to the library page for the original.