FIELD: agriculture.SUBSTANCE: invention relates to a scraping device for manure removal. Scraping device comprises first scraper (12) and drive mechanism (17, 18) adapted to drive first scraper (12) back and forth between rear end (10a) of alley (10) and front end (10b) of alley (10). First scraper (12) comprises at least one outer scraping portion (12b) which is movably arranged between an unfolded state, in which it is in contact with side surface (10d) of alley (10), and a folded state, in which a gap is formed between scraping portion (12b) and side surfaces (10d) of alley (10). Outer scraping portion (12b) is configured to move to the unfolded state when scraper (12) is driven in a forward direction towards front end (10b) of alley (10), and to the unfolded state when scraper (12) is driven in a rearward direction towards rear end (10a) of alley (10). Outer scraping portion (12b) reaches the unfolded state when it has been driven from rear end (10a) of alley (10) to a first position (p1) located at a distance from rear end (10a) of alley (10). Scraping device comprises second scraper (13) configured to move and push manure in a forward direction from rear end (10a) of alley (10) to second position (p2) in alley (10) which is located a longer distance from rear end (10a) of alley (10) than said first position (p1). Second scraper (13) is movable between rear end (10a) and second position (p2) by same drive mechanism (17, 18) as first scraper (12). Second scraper (13) is pulled by first scraper (12) from rear end (10a) of alley (10) to second position (p2). Second scraper (13) and first scraper (12) comprise a coupling device adapted to connect second scraper (13) to first scraper (12) so that first scraper (12) pulls the second scraper from rear end (10a) of alley (10) to second position (p2). Scraping device comprises a detachment member which is adapted to release the coupling device when second scraper (13) reaches second position (p2).EFFECT: invention enabl