The medical specialty that is concerned with mental disorders is psychiatry.