Viscoelastic surfactants (VES) are used in upstream oil and gas applications, particularly hydraulic fracturing and matrix acidizing. A description of surfactant types is introduced along with a theoretical description of how they assemble into micelles, what sizes and shapes of micelles can be formed under different conditions, and finally how specific structures can lead to bulk viscoelastic solution properties. This theoretical discussion leads into a description of the specific VES systems that have been used over the last twenty years or so in improved oil recovery for upstream applications.VES-based fluids have been used most extensively for hydraulic fracturing. They are preferred over conventional polymer-based fracturing fluid systems because they are essentially solids-free systems which have demonstrated less damage to the reservoir rock formation. Important advancements in VES have been made by introducing "pseudo-crosslinking agents" such as nanoparticles to enhance the viscosity. Fracturing fluid systems based on VES have also been improved recently by developing internal breakers to lower their viscosity in order to flow back the well. The flexibility of VES-based fluids has been demonstrated by their application as foamed fluids as well as their incorporation with brine systems such as produced water.A second key area that has benefited from VES-based systems is matrix acidizing carbonated-based reservoirs. The viscosity of these VES-based fluids is mostly controlled by pH where, at low pH (low viscosity), the acid system flows easily and invades pore spaces in the formation. During acidizing, the acid is spent, and the pH and viscosity increase. Because the spent acid has higher viscosity, fresh acid is diverted to low permeability un-contacted zones and penetrates the rocks to form wormholes. A number of experimental studies and field applications to these effects have been performed and will be described here.In order for VES-based fluids to play a more prominent role in the field, inherent limitations such as cost, applicable temperature range, and leak-off characteristics will need to continue to be addressed. If we can efficiently and economically overcome these issues, VES-based fluids offer the industry an excellent clean, non-damaging alternative to conventional polymer-based fluids.