Skip to main content
There are two ways to get testnet HBAR:
  • Hedera Portal: create a portal account for a fully provisioned testnet account with a stable Account ID, private key, and access to all developer tools. No EVM wallet required.
  • Faucet: paste any EVM wallet address to instantly fund an account. No portal account needed.
The faucet auto-creates a Hedera account when you enter an EVM wallet address for the first time.
1

Step 1: Visit the faucet

To use the faucet, head to the faucet landing page.

VISIT HEDERA FAUCET

2

Step 2: Fund your testnet account

  • Enter your EVM wallet address in the Enter Wallet Address field and
  • Click the RECEIVE 100 TESTNET HBAR button to initiate an auto account creation flow that creates and funds a new testnet account

⚠️ Important

When you use an EVM wallet address for the first time, Auto Account Creation kicks in to establish a new Hedera account linked to your EVM address.This process creates a hollow account, an account with an Account ID and your EVM address set as its alias, but no signing key on record yet. Hollow accounts can receive HBAR and tokens, but cannot transfer funds or modify account properties until completed.To complete the account, use it as the fee payer in a transaction and sign with the ECDSA private key corresponding to your EVM address. Once completed, it behaves like any regular Hedera account.For a full explanation of the Hedera account model, hollow accounts, and accounts without an ECDSA key, see Account Model for EVM Developers.

Environment Variable Setup (Optional)

This section is for developers who want to set up their environment for production use. If you plan to use Hardhat, Foundry, or other development frameworks, complete this step to configure your environment variable. Skip if you’re just getting started.
If you plan to use Hardhat, Foundry, or other development frameworks, you’ll want to set up environment variables:
  1. Export your private key from MetaMask:
    1. Click the three dots menuAccount detailsShow private key
    2. Copy the private key (64-character hex string)
For detailed instructions on exporting your private key, refer to this how-to guide. Keep your private keys secure. Anyone with access to them can control your wallet and any funds.
  1. Create a .env file in your project directory with your account credentials

Warning

Storing private keys in a .env file is not considered best practice. There is always a risk of accidentally committing and pushing to a public GitHub repo and exposing your keys. Make it a habit to add .env to your .gitignore file as a precautionary measure.We highly advise against using a private key with mainnet funds.
Building locally? Solo lets you run a full Hedera network on your own machine — no faucet, no resets, no throttles. It works with MetaMask, Hardhat, and Foundry out of the box. See the Solo quickstart or Using Solo with EVM tools to get started.

Next Step