In the past it was possible to reach call stack depth 1024 in EVM. However I heard that now it is impossible due to gas costs.

Is this true?

1 Answer 1


It is not possible to reach callstack depth 1024, because the max forwarded gas is always 63/64 of the total available gas. The block gas limits need to be of the order of 1e8 ((63/64)^1024) in order to reach this depth.

  • Interesting! So the current block gas limit of 15M (1.5e7) implies that the callstack has depth at most 821.
    – samlaf
    Mar 5, 2022 at 16:54

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.