This chapter focuses on different types of biological and nonbiological artifacts in MEG and EEG recordings, and discusses methods for their recognition and removal. Examples are given of various physiological artifacts, including eye movements, eyeblinks, saccades, muscle, and cardiac activity. Nonbiological artifacts, such as power-line noise, are also demonstrated. Some examples are given to illustrate how these unwanted signals can be identified and removed from MEG and EEG signals with methods such as independent component analysis (as applied to EEG data) and temporal signal-space separation (applied to MEG data). However, prevention of artifacts is always preferable to removing or compensating for them post hoc during data analysis. The chapter concludes with a discussion of how to ensure that signals are emanating from the brain and not from other sources.