Often, when exploring your data, you may feel somewhat lost. Without the context of the known world, a layer can seem like a blob of information floating in space. By adding an atlas-style map, air photos, or another BaseMap, you can begin to see how your data fits in the on-the-ground reality. However, adding such layers often takes considerable preprocessing work; sometimes, you just don't want to go through this until you know you need it. What's the solution? Use a premade layer, preferably fast-loading tiles, from a web service.
The QuickMapServices plugin works best when you have another dataset that you want to provide extra context for. Start by first loading such a layer and then zooming in to its extent.
You will need the following:
Davis_DBO_Centerline-wgs84.shp)Starting with a new QGIS project, follow these instructions to load BaseMap from the web with the QuickMapServices plugin:
The plugin will not turn on projection-on-the-fly for you unless you change its settings. However, in order for most tile services to work in QGIS, projection-on-the-fly must be enabled and set to EPSG:3857 Psuedo/Web/Popular Mercator. Other data will fail to line up if their projection is not defined or read properly by QGIS.

The following screenshot shows how the screen will look:

The QuickMapServices plugin is a web-based tool. All of the BaseMaps come from the Internet as you pan and zoom; none of the data comes from your computer or QGIS itself.
There are a few things to be cautious of when using the QuickMapServices plugin. It doesn't always line up quite right, especially when zoomed out to big areas. First, check whether your other layers' projections are defined correctly and then try to reset the map by slightly panning to the side. The key idea to remember is that tiled services generally only exist for EPSG:3857 and at a very specific set of scales. QGIS will attempt to pick the closest matching scale and resample the scale to make it fit. This also explains why loading such layers can sometimes be slow.
To add more restricted services, such as Google. Bing, and so on, perform the following steps:

While it may be legal to view the maps (most of the time), depending on layers that are selected, it may not be legal to digitize maps based on them, print them, or, otherwise, save them for offline use. The license varies by data source. So, make sure to check this for the sources you want to use by going online and reading the Terms of Service on their websites. If your use case is outside of generally viewing for quick reference, you will probably need to spend some time obtaining a license or permission for your use.
OpenStreetMap-based sources are often good choices as the licenses typically just require attribution with no restrictions on use. The main layers that originally come with the plugin are there because they have less restrictive licenses.
Finally, you may be wondering how QuickMapServices differs from the OpenLayers plugin mentioned in the next recipe. For starters, this plugin is newer and currently supported. It also solves some long-standing issues, especially in regards to printing. There is also the contributed layers GitHub repository, which should make it easier for people to contribute new layer definitions.