diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,7 @@
+# 1.4.2
+
+* Allow persistent 2.5
+
 # 1.4.1
 
 * Allow newest version of persistent
diff --git a/Yesod/Auth/Account.hs b/Yesod/Auth/Account.hs
--- a/Yesod/Auth/Account.hs
+++ b/Yesod/Auth/Account.hs
@@ -970,6 +970,9 @@
                        , P.PersistUnique (b (HandlerT master IO))
                        , P.PersistQuery (b (HandlerT master IO))
 #endif
+#if MIN_VERSION_persistent(2,5,0)
+                       , b ~ BaseBackend b
+#endif
                        , YesodAuthAccount db master
                        , db ~ AccountPersistDB master user
                        ) 
diff --git a/yesod-auth-account.cabal b/yesod-auth-account.cabal
--- a/yesod-auth-account.cabal
+++ b/yesod-auth-account.cabal
@@ -1,5 +1,5 @@
 name:              yesod-auth-account
-version:           1.4.1
+version:           1.4.2
 cabal-version:     >= 1.8
 build-type:        Simple
 synopsis:          An account authentication plugin for Yesod
@@ -38,7 +38,7 @@
                  , mtl               >= 2.1
                  , nonce             >= 1.0
                  , text              >= 0.11
-                 , persistent        >= 1.3        && < 2.3
+                 , persistent        >= 1.3        && < 2.6
                  , pwstore-fast      >= 2.0
                  , yesod-auth        >= 1.2        && < 1.5
                  , yesod-core        >= 1.2        && < 1.5
