diff --git a/README.rst b/README.rst
index f514d901..b01dbd86 100644
--- a/README.rst
+++ b/README.rst
@@ -2,8 +2,8 @@
     :target: https://pymysql.readthedocs.io/
     :alt: Documentation Status
 
-.. image:: https://coveralls.io/repos/PyMySQL/PyMySQL/badge.svg?branch=master&service=github
-    :target: https://coveralls.io/github/PyMySQL/PyMySQL?branch=master
+.. image:: https://coveralls.io/repos/PyMySQL/PyMySQL/badge.svg?branch=main&service=github
+    :target: https://coveralls.io/github/PyMySQL/PyMySQL?branch=main
 
 .. image:: https://img.shields.io/lgtm/grade/python/g/PyMySQL/PyMySQL.svg?logo=lgtm&logoWidth=18
     :target: https://lgtm.com/projects/g/PyMySQL/PyMySQL/context:python