diff --git a/docs/howto/develop/setup.md b/docs/howto/develop/setup.md
index cd0d70ba2a3dc6b1e16ec88e07122a194418af95..01c2120c1d9e0ee1de5e8639783ad9457ecca0d6 100644
--- a/docs/howto/develop/setup.md
+++ b/docs/howto/develop/setup.md
@@ -111,10 +111,10 @@ essential for handling HDF5 files, must be installed on most Unix/Linux systems.
 
 The absence of these libraries can lead to issues during installation or runtime.
 
-For macOS (using Homebrew, pre-compiled binaries for `libmagic` are included in the `pylibmagic` library):
+For macOS:
 
 ```bash
-brew install hdf5
+brew install hdf5 libmagic file-formula
 ```
 
 For Windows (pre-compiled binaries for `hdf5` are included in the dependencies):
diff --git a/nomad/parsing/parsers.py b/nomad/parsing/parsers.py
index 8781d9672b90632f5b449275eb10b6909c520cf8..a47db61afe288001a7ee89b8c4115c7cc1dcc230 100644
--- a/nomad/parsing/parsers.py
+++ b/nomad/parsing/parsers.py
@@ -40,8 +40,6 @@ try:
     # parsers are only initialized to load their metainfo definitions
     import platform
 
-    if platform.system() == 'Darwin':
-        import pylibmagic
     import magic
     import gzip
     import bz2
diff --git a/pyproject.toml b/pyproject.toml
index 06c5d398d42c555a94326bf0e9101ba77af1254f..d4dce2596e034256202e2142a9d6fb6b6a76ef47 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -69,7 +69,6 @@ parsing = [
     'nomad-openbis',
     'quippy-ase==0.9.14',
     'rdkit==2023.9.5',
-    'pylibmagic; sys_platform == "darwin"',
     'python-magic-bin; sys_platform == "win32"',
 ]
 infrastructure = [