Autism spectrum disorder (ASD) is a neurodevelopmental condition characterized by deficits in social interaction and communication, as well as repetitive and restrictive behaviours. The etiological and phenotypic complexity of ASD has so far hindered the development of clinically useful biomarkers for the condition. Neuroimaging studies have been valuable in establishing a biological basis for ASD. Increasingly, neuroimaging has been combined with \'machine learning\'-based pattern classification methods to make individual diagnostic predictions. Moving forward, the hope is that these techniques may not only facilitate the diagnostic process but may also aid in fractionating the ASD phenotype into more biologically homogeneous sub-groups, with defined pathophysiology, predictable outcomes and/or responses to targeted treatments and/or interventions. This review chapter will first introduce \'machine learning\' and pattern recognition methods in general, with a focus on their application to diagnostic classification. It will highlight why such approaches to biomarker discovery may have advantages over more conventional analytical methods. Magnetic resonance imaging (MRI) findings of atypical brain structure, function and connectivity in ASD will be briefly reviewed before we describe how pattern recognition has been applied to generate predictive models for ASD. Last, we will discuss some limitations and pitfalls of pattern recognition analyses in ASD and consider how the field can advance beyond the prediction of binary outcomes.