# Rename a stack variable

This command allows the user to rename a stack variable. Enter an identifier for the stack variable and press Enter.

Internally, stack variables are represented as structure fields. IDA creates a new structure type for each function frame.

See also [Edit|Structs](https://docs.hex-rays.com/9.0/user-guide/user-interface/menu-bar/edit/structures) submenu. [How to Enter an Identifier](https://docs.hex-rays.com/9.0/user-guide/disassembler/navigation/how-to-enter-an-identifier)
