I would like to know how many accounts I can create and how much max data each account can take in Anchor PDA Program.

1 Answer 1


The maximum size of any account is 10 megabytes. Each account address on your Solana program will take 32 bytes for the address. You can make as many as your solana program can handle. You can study more form Solana cookbook docs, and about solana account under the "Creating" heading section in Solana official docs.

  • In addition, if you are creating a PDA account, you're limited to 10kb for the account size.
    – Jon C
    Commented Oct 31, 2022 at 16:43
  • I want to know a count that how many accounts i can create in either PDA account or normal account right now I testing for this i haven't got any error , i created 100 accounts with normal data storage account
    – Mojo
    Commented Nov 2, 2022 at 4:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.