Flash loans are a DeFi primitive that allows you to borrow any amount of assets without providing collateral, as long as the loan is repaid within the same transaction.
While flash loans technically exist in the current implementation, their use is rendered impractical due to a high fee setting. The ability to enable flash loans in the future lies with BEX governance.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Berachain","colors":{"primary":"#92400E","light":"#FBBF24","dark":"#D97706"},"logo":{"light":"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/light.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=89a596c06b1db60f4506c32513e60cd3","dark":"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/dark.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=8eb432aaac3acced0085cc6271e11280","href":"https://docs.berachain.com"},"favicon":{"light":"https://mintcdn.com/berachain-422fce37/EVzCtRIfTYlsSSCJ/favicon-core.svg?fit=max\u0026auto=format\u0026n=EVzCtRIfTYlsSSCJ\u0026q=85\u0026s=d153b670e1addfdb55539763d610a38e","dark":"https://mintcdn.com/berachain-422fce37/EVzCtRIfTYlsSSCJ/favicon-core.svg?fit=max\u0026auto=format\u0026n=EVzCtRIfTYlsSSCJ\u0026q=85\u0026s=d153b670e1addfdb55539763d610a38e"},"navbar":{"links":[{"href":"https://hub.berachain.com","label":"Bera Hub"},{"href":"https://busd.berachain.com","label":"BUSD Swap"},{"href":"https://bend.berachain.com/","label":"Bend"},{"icon":"discord","href":"https://discord.gg/berachain","label":""},{"icon":"github","href":"https://github.com/berachain/docs","label":""},{"icon":"x-twitter","href":"https://x.com/berachain","label":""},{"icon":"telegram","href":"https://t.me/berachain","label":""}]},"footer":{"socials":{"x":"https://x.com/berachain","github":"https://github.com/berachain/docs","discord":"https://discord.gg/berachain","telegram":"https://t.me/berachain"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"berachain-422fce37","hasAudioNarration":false,"actualSubdomain":"berachain-422fce37","customDomains":["docs.berachain.com"],"gitSource":{"type":"github","owner":"berachain","repo":"docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a984bf3afddb22030d04896","collectionId":"64b7ab4c-cd68-4e4d-9baf-affa72532a08","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a984bf3afddb22030d04896"},"feedback":{"thumbs":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a984bf3afddb22030d04896","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Build","count":61},{"language":"default","tag":"BEX","count":33},{"language":"default","tag":"Getting Started","count":28},{"language":"default","tag":"Concepts","count":27},{"language":"default","tag":"Nodes","count":26},{"language":"default","tag":"Bend","count":23},{"language":"default","tag":"Community Guides","count":20},{"language":"default","tag":"General","count":20},{"language":"default","tag":"Proof of Liquidity","count":15},{"language":"default","tag":"User Guides","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar,[data-sidebar]{display:flex;flex-direction:column}#sidebar .nav-anchors,.nav-anchors,[data-sidebar] .nav-anchors{order:999;margin-top:auto;padding-top:1rem;border-top:1px solid rgba(128,128,128,.2)}[data-component-name=mermaid-container]{overflow-x:auto!important}[data-component-name=mermaid-container] svg{min-width:650px!important;max-width:none!important}#navbar .nav-logo img,[data-navbar] .nav-logo img{height:28px!important;width:auto!important;max-height:28px!important}"}],"page":{"pagePath":"bex/learn/flash-loans","slug":"/bex/learn/flash-loans","pageMetadata":{"title":"Flash Loans","description":"Uncollateralized same-transaction loans; currently disabled via protocol fees.","href":"/bex/learn/flash-loans"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Uncollateralized same-transaction loans; currently disabled via protocol fees.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Flash loans are currently disabled in BEX through protocol fees. This feature may be enabled in\nthe future through governance.`})}),`\n`,_jsx(Heading,{level:`2`,id:`how-flash-loans-work`,children:`How flash loans work`}),`\n`,_jsx(_components.p,{children:`Flash loans are a DeFi primitive that allows you to borrow any amount of assets without providing collateral, as long as the loan is repaid within the same transaction.`}),`\n`,_jsx(Heading,{level:`2`,id:`future-availability`,children:`Future availability`}),`\n`,_jsx(_components.p,{children:`While flash loans technically exist in the current implementation, their use is rendered impractical due to a high fee setting. The ability to enable flash loans in the future lies with BEX governance.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Flash Loans","description":"Uncollateralized same-transaction loans; currently disabled via protocol fees.","href":"/bex/learn/flash-loans"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How flash loans work","slug":"how-flash-loans-work","depth":2,"children":[]},{"title":"Future availability","slug":"future-availability","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"berachain-422fce37","siteName":"Berachain","title":"Flash Loans - Berachain","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-02T20:34:40.376Z","originalFileLocation":"bex/learn/flash-loans.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Uncollateralized same-transaction loans; currently disabled via protocol fees.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Berachain\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Flash Loans - Berachain\">\u003cmeta data-mint-head property=\"og:description\" content=\"Uncollateralized same-transaction loans; currently disabled via protocol fees.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Berachain\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.berachain.com/bex/learn/flash-loans\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://berachain-422fce37.mintlify.app/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Flash+Loans\u0026amp;description=Uncollateralized+same-transaction+loans%3B+currently+disabled+via+protocol+fees.\u0026amp;theme=1e1bfcc71b52b8663f319473\u0026amp;signature=90a8aff678d6b104d35c808787ec598e5f788966a0f637514d0d7e84959aba23\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Flash Loans - Berachain\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Uncollateralized same-transaction loans; currently disabled via protocol fees.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://berachain-422fce37.mintlify.app/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Flash+Loans\u0026amp;description=Uncollateralized+same-transaction+loans%3B+currently+disabled+via+protocol+fees.\u0026amp;theme=1e1bfcc71b52b8663f319473\u0026amp;signature=90a8aff678d6b104d35c808787ec598e5f788966a0f637514d0d7e84959aba23\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/berachain-422fce37/GhFtmoYvIj_GkgM5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Berachain\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#92400E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.berachain.com/bex/learn/flash-loans\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/bex/learn/flash-loans.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.berachain.com/#organization\",\"name\":\"Berachain\",\"url\":\"https://docs.berachain.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/berachain-422fce37/sVHHuWrozTnTMuyP/logo/light.svg?fit=max\u0026auto=format\u0026n=sVHHuWrozTnTMuyP\u0026q=85\u0026s=89a596c06b1db60f4506c32513e60cd3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.berachain.com#website\",\"name\":\"Berachain\",\"url\":\"https://docs.berachain.com\",\"publisher\":{\"@id\":\"https://docs.berachain.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.berachain.com/bex/learn/flash-loans#webpage\",\"url\":\"https://docs.berachain.com/bex/learn/flash-loans\",\"name\":\"Flash Loans\",\"description\":\"Uncollateralized same-transaction loans; currently disabled via protocol fees.\",\"dateModified\":\"2026-04-02T20:34:40.376Z\",\"isPartOf\":{\"@id\":\"https://docs.berachain.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.berachain.com/bex/learn/flash-loans#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.berachain.com/bex/learn/flash-loans#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Concepts\",\"item\":\"https://docs.berachain.com/bex/learn/dex\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flash Loans\",\"item\":\"https://docs.berachain.com/bex/learn/flash-loans\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.berachain.com/bex/learn/flash-loans#article\",\"headline\":\"Flash Loans\",\"name\":\"Flash Loans\",\"description\":\"Uncollateralized same-transaction loans; currently disabled via protocol fees.\",\"url\":\"https://docs.berachain.com/bex/learn/flash-loans\",\"mainEntityOfPage\":{\"@id\":\"https://docs.berachain.com/bex/learn/flash-loans#webpage\"},\"dateModified\":\"2026-04-02T20:34:40.376Z\",\"publisher\":{\"@id\":\"https://docs.berachain.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.berachain.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Berachain\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Berachain","nav":{"global":null,"tabs":[{"tab":"General","pages":[{"title":"General","href":""}]},{"tab":"BEX","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/bex/learn/overview"},{"title":"What Is BEX?","href":"/bex/learn/what-is-bex"}]},{"group":"Concepts","pages":[{"title":"Decentralized Exchanges","href":"/bex/learn/dex"},{"title":"Vault","href":"/bex/learn/vault"},{"title":"Pools","href":"/bex/learn/pools"},{"title":"Weighted Pools","href":"/bex/learn/weighted-pools"},{"title":"Stable Pools","description":"Pools for stablecoins and correlated assets; composability and amplification.","href":"/bex/learn/stable-pools"},{"title":"Flash Loans","href":"/bex/learn/flash-loans"}]},{"group":"User Guides","pages":[{"title":"Add Token Metadata","description":"Submit token logo, CoinGecko ID, and metadata via the Berachain metadata repo.","href":"/bex/guides/add-token"},{"title":"Swaps","href":"/bex/guides/swaps"},{"title":"Fees","href":"/bex/guides/fees"},{"title":"Liquidity Provision","href":"/bex/guides/liquidity"},{"title":"BEX and Proof of Liquidity","href":"/bex/guides/proof-of-liquidity"},{"title":"Pool Creation","href":"/bex/guides/pool-creation"},{"title":"Pool Configuration","href":"/bex/guides/pool-configuration"}]}]},{"tab":"Bend","pages":[{"title":"Bend","href":"/bend/learn/overview"}]},{"tab":"Build","pages":[{"title":"Build","href":"/build/getting-started/overview"}]},{"tab":"Nodes","pages":[{"title":"Nodes","href":"/nodes/overview"}]}]},"title":"Flash Loans - Berachain","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}