Adding a biography field to the user profile

In its default configuration, the Drupal user profile features only a few fields such as Username, Password, E-mail, and Picture. There are many potential use cases where you would want to add more fields. Drupal makes it very easy for us to add additional fields to the user profile, and it's done in much the same way as you would edit a content type. In this recipe, we will be adding a new Long text field to the user profile to provide the user with the option of adding a biography.


Adding too many fields to a user profile can have performance implications. The user object is always loaded, and with it, any extra fields added to it.

Getting ready

To complete this recipe you will need to have completed ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.