diff --git a/hypercorn/config.py b/hypercorn/config.py
index <HASH>..<HASH> 100644
--- a/hypercorn/config.py
+++ b/hypercorn/config.py
@@ -12,7 +12,7 @@ from dataclasses import dataclass
 from ssl import SSLContext, VerifyFlags, VerifyMode  # type: ignore
 from typing import Any, AnyStr, Dict, List, Mapping, Optional, Type, Union
 
-import pytoml
+import toml
 
 from .logging import AccessLogger
 
@@ -267,7 +267,7 @@ class Config:
         """
         file_path = os.fspath(filename)
         with open(file_path) as file_:
-            data = pytoml.load(file_)
+            data = toml.load(file_)
         return cls.from_mapping(data)
 
     @classmethod
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ with open(os.path.join(PROJECT_ROOT, 'README.rst')) as file_:
 INSTALL_REQUIRES = [
     'h11',
     'h2 >= 3.1.0',
-    'pytoml',
+    'toml',
     'typing_extensions',
     'wsproto >= 0.14.0',
 ]
Switch from pytoml to toml

pytoml is no longer maintained and recommends toml is used instead.