Is it possible to pause/stop labeling temporarily in QGIS like in Arcmap for all layers at once?

The label toolbar offers no solution.


QGIS 3.x

You could use the following code in the Python Console to create a button on the toolbar which toggles the labels for all vector layers:

action = QAction(QIcon(""), "Turn labels" + "\n" + "ON/OFF", iface.mainWindow())

def label_control():
    for layer in QgsProject.instance().mapLayers().values():
        if layer.type() == QgsMapLayer.VectorLayer:
            if action.isChecked() == True:

# Uncomment line below if you want to remove the icon yourself,
# otherwise it will be removed automatically when you restart QGIS

Code was based on the question: How to turn on/off all labels of all layers in QGIS.

QGIS 2.18.x

You can use the Deactivate/Active Labels plugin which has a button to switch on/off labels for all layers:

Invert labels

  • 1
    Thank you Joseph. That's what i was looking for. Too bad, it's not ported for Qgis 3 yet.
    – RolandG
    Jun 26 '18 at 12:48
  • 1
    @RolandG - Most welcome, added a possible method for QGIS 3 :)
    – Joseph
    Jun 26 '18 at 13:11
  • 1
    missing the Deactivate/Active labels plugin! Started a request on their repo to upgrade it.
    – Nikhil VJ
    Aug 15 '18 at 5:00
  • @nikhilvj - Nice one! :)
    – Joseph
    Aug 15 '18 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.