The invention relates to a method for detecting a lane having the steps: - taking at least one image of the surroundings of a vehicle with a camera, - detecting a driving corridor from the at least one image and - structure detection by taking into account the identified driving corridor, in order to determine an image of the profile of at least one roadway edge from the at least one image.