LibreOffice Safe Mode: Troubleshoot Crashes Without Resetting Everything

Updated on

To start LibreOffice in Safe Mode, choose Help > Restart in Troubleshoot Mode. If the app won’t open on Windows, use the Start menu shortcut or launch it from Command Prompt with --safe-mode. Choose Continue in Troubleshoot Mode to test with a temporary profile before changing your regular settings.

Laptop displaying a document with a green restart arrow

Open LibreOffice Safe Mode from Run or PowerShell

If Writer or Calc closes before you can open Help, save any work in other LibreOffice windows and close them. Then use the command for the window you have open. These examples assume the standard Windows installation folder.

Where you are typing Command to use
Run (Windows + R) or Command Prompt "%ProgramFiles%\LibreOffice\program\soffice.exe" --safe-mode
PowerShell or a Windows Terminal PowerShell tab & "$env:ProgramFiles\LibreOffice\program\soffice.exe" --safe-mode

If Windows cannot find the file, look for LibreOffice (Troubleshoot Mode) or LibreOffice (Safe Mode) in Start. For a custom installation, open the ordinary LibreOffice shortcut’s Properties, check the installation folder in Target, and use the full path to program\soffice.exe. Keep the path in quotation marks and the --safe-mode switch outside them.

In the dialog, choose Continue in Troubleshoot Mode and open a copy of the file that gave you trouble. Close LibreOffice and launch it normally to compare. A file that opens only in the temporary session gives you a reason to test your profile or extensions before choosing a reset. LibreOffice’s guide explains what each recovery option changes.

How to open Safe Mode or Troubleshoot Mode

  • If LibreOffice opens: look under Help for Restart in Troubleshoot Mode, or the Safe Mode name used by your version.
  • On Windows: use the LibreOffice Troubleshoot Mode or Safe Mode Start-menu entry, where installed.
  • From a terminal: start your installed LibreOffice executable with --safe-mode.

Open LibreOffice Safe Mode from Windows Command Prompt

From Start, search for and open Command Prompt. If LibreOffice is installed in your main Program Files folder, paste this command and press Enter.

"%ProgramFiles%\LibreOffice\program\soffice.exe" --safe-mode

If the file is elsewhere, use its real path. Do not download a replacement soffice.exe from a file-sharing site. LibreOffice’s current mode guide confirms the command-line option.

Which option should you choose?

Option What it does When to use it
Continue in Troubleshoot Mode Works with a temporary fresh profile. Test whether a document or ordinary task works without your normal settings.
Restart Normally Returns to normal operation and discards temporary-mode changes. You opened the mode accidentally or finished the test.
Apply Changes and Restart Applies the recovery changes you selected. You have chosen a specific fix and understand what it changes.

The mode also disables hardware acceleration, which uses the graphics hardware for part of the display work. A successful test can therefore point toward a profile, extension or graphics-related issue; it does not identify one broken setting with certainty.

Try the least disruptive fix first

  1. Save copies of important documents.
  2. Open the temporary mode and repeat the task that failed.
  3. If it works, return to the recovery dialog and test one relevant change at a time.
  4. Try extension or graphics-related options before a complete profile reset when they match the symptom.
  5. Restart normally and test again after each change.

Back up custom templates, macros and other profile items before a broad reset. Do not select every recovery option just because the app crashed once. A document that fails in both modes may need a different investigation from an app that cannot start at all.

If LibreOffice still does not open

Note the exact error, LibreOffice version, operating system and whether the temporary mode behaves differently. Use the project’s current support information and installer. Reinstalling the app and resetting its user profile are separate actions, so one does not automatically do the other.

If other Windows apps won’t open either, check whether the problem extends beyond LibreOffice. If you are comparing suites, our guide to the apps in LibreOffice covers what the suite includes and where to handle email.

Frequently asked questions

Is Troubleshoot Mode the same feature as Safe Mode?

Current LibreOffice help uses Troubleshoot Mode. Older versions and guides use Safe Mode; the documented command-line option remains --safe-mode.

Does starting the temporary mode reset all my settings?

Starting with a temporary profile is a test. Applying a recovery option or resetting the real profile is a separate choice.

If a document works in this mode, have I found the exact fault?

No. The mode changes the profile and graphics behavior, so the result narrows the investigation without identifying one setting with certainty.

What should I keep before resetting a profile?

Keep important documents and back up custom templates, macros and other profile items you need. Test the less disruptive recovery options first.

What does each LibreOffice reset option keep?

The Reset to factory settings section of the Troubleshoot Mode dialog offers two choices.

  • Reset settings and user customizations restores configuration and interface defaults. It keeps items such as your personal dictionary and templates.
  • Reset entire user profile returns the whole profile to its original state. Back up the custom templates, dictionaries and macros you want to keep before using it.