diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py
index a1731b3a9..b7c63fc09 100644
--- a/sphinx/builders/html.py
+++ b/sphinx/builders/html.py
@@ -570,7 +570,7 @@ class StandaloneHTMLBuilder(Builder):
def post_process_images(self, doctree):
"""
- Pick the best candiate for an image and link down-scaled images to
+ Pick the best candidate for an image and link down-scaled images to
their high res version.
"""
Builder.post_process_images(self, doctree)
diff --git a/sphinx/environment.py b/sphinx/environment.py
index 064b71ae1..1229656a9 100644
--- a/sphinx/environment.py
+++ b/sphinx/environment.py
@@ -710,7 +710,7 @@ class BuildEnvironment:
for node in doctree.traverse(nodes.image):
# Map the mimetype to the corresponding image. The writer may
# choose the best image from these candidates. The special key * is
- # set if there is only single candiate to be used by a writer.
+ # set if there is only single candidate to be used by a writer.
# The special key ? is set for nonlocal URIs.
node['candidates'] = candidates = {}
imguri = node['uri']