In sociolinguistics, an accent is a way of pronouncing a language that is distinctive to a country, area, social class, or individual. An accent may be identified with the locality in which its speakers reside (a regional or geographical accent), the socioeconomic status of its speakers, their ethnicity (an ethnolect), their caste or social class (a social accent), or influence from their first language (a foreign accent).
Accents typically differ in quality of voice, pronunciation and distinction of vowels and consonants, stress, and prosody. Although grammar, semantics, vocabulary, and other language characteristics often vary concurrently with accent, the word "accent" may refer specifically to the differences in pronunciation, whereas the word "dialect" encompasses the broader set of linguistic differences. "Accent" is often a subset of "dialect".
As human beings spread out into isolated communities, stresses and peculiarities develop. Over time, they can develop into identifiable accents. In North America, the interaction of people from many ethnic backgrounds contributed to the formation of the different varieties of North American accents. It is difficult to measure or predict how long it takes an accent to form. Accents from Canada, South Africa, Australia and the United States for example, developed from the combinations of different accents and languages in various societies and their effect on the various pronunciations of British settlers.
Accents may vary within regions of an area in which a uniform language is spoken. In some cases, such as regional accents of English in the United States, accents can be traced back to when an area was settled and by whom. Areas like the city of New Orleans in Louisiana that are, or at one point in time were, semi-isolated have distinct accents due to the absence of contact between regions. Isolated regions allow dialects to expand and evolve independently. Social and economic factors can also influence the way people speak.