Learn how to disable telemetry in n8n by editing the n8n.yml file, using environment variables, or the UI to stop usage data collection while maintaining full functionality.
Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
To disable telemetry in n8n, access the n8n.yml configuration file and set the telemetry.enabled option to false. This prevents n8n from collecting and sending usage data while still allowing you to use the application's full functionality.
Comprehensive Guide to Disable Telemetry in n8n
Step 1: Understand what n8n telemetry is
n8n collects telemetry data by default to help improve the product. This includes:
The telemetry doesn't include your personal data, workflow content, credentials, or other sensitive information, but you might still want to disable it for privacy reasons or organizational policies.
Step 2: Locate your n8n configuration file
The location of your configuration file depends on how you installed n8n:
The default locations are:
Step 3: Edit the n8n.yml configuration file
If the n8n.yml file doesn't exist yet, you'll need to create it. Navigate to the appropriate directory and:
# For Linux/macOS
touch ~/.n8n/n8n.yml
# For Windows (using PowerShell)
New-Item -Path "$env:APPDATA\n8n\n8n.yml" -ItemType File
Open the file with a text editor of your choice and add the following configuration:
telemetry:
enabled: false
Make sure to respect the YAML indentation as shown above.
Step 4: Disable telemetry using environment variables
If you prefer to use environment variables, you can set the N8N_TELEMETRY variable to false:
# In your docker-compose.yml file
version: '3'
services:
n8n:
image: n8nio/n8n
environment:
- N8N\_TELEMETRY=false
# other configuration...
N8N\_TELEMETRY=false
# Linux/macOS
export N8N\_TELEMETRY=false
n8n start
# Windows
set N8N\_TELEMETRY=false
n8n start
Step 5: Disable telemetry through the n8n UI (newer versions)
In newer versions of n8n, you can disable telemetry directly through the user interface:
Step 6: Verify telemetry is disabled
To confirm that telemetry is disabled:
n8n typically logs confirmation that telemetry is disabled during startup.
Step 7: Handling telemetry settings in multi-user environments
If you're running n8n in an organization with multiple users:
Step 8: Dealing with upgrades
When upgrading n8n:
It's good practice to verify your telemetry settings after each upgrade.
Additional options for more granular control
For more advanced control, you can selectively disable certain types of telemetry. In your n8n.yml file:
telemetry:
enabled: true
features:
usage: false # Disables usage tracking
errors: false # Disables error reporting
This allows you to, for example, allow feature adoption metrics but disable error reporting.
Troubleshooting common issues
Issue 1: Telemetry still active after disabling
If telemetry appears to still be active:
Issue 2: Configuration file syntax errors
YAML is sensitive to indentation. If n8n fails to start or ignores your settings:
Issue 3: Permission problems
If you encounter permission issues when modifying the configuration:
Conclusion
Disabling telemetry in n8n is straightforward but depends on your installation method. Whether you prefer configuration files, environment variables, or the UI method, you now have multiple options to control what data n8n collects from your instance. Remember that while disabling telemetry respects your privacy, telemetry data helps the n8n team improve the product based on real-world usage patterns.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.