To declare a variable in C, you need to specify the data type followed by the variable name. For example, `int age;` declares an integer variable named age. Variable declarations must be done before they are used in the program.