The patch-clamp technique allows investigation of the electrical excitability of neurons and the functional properties and densities of ion channels. Most patch-clamp recordings from neurons have been made from the soma, the largest structure of individual neurons, while their dendrites, which form the majority of the surface area and receive most of the synaptic input, have been relatively neglected. This protocol describes techniques for recording from the dendrites of neurons in brain slices under direct visual control. Although the basic technique is similar to that used for somatic patching, we describe refinements and optimizations of slice quality, microscope optics, setup stability and electrode approach that are required for maximizing the success rate for dendritic recordings. Using this approach, all configurations of the patch-clamp technique (cell-attached, inside-out, whole-cell, outside-out and perforated patch) can be achieved, even for relatively distal dendrites, and simultaneous multiple-electrode dendritic recordings are also possible. The protocol--from the beginning of slice preparation to the end of the first successful recording--can be completed in 3 h.