The invention relates to a manure scraping device which comprises an first scraper (12) and a second scraper (13). The 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 a side surface (10d) of the alley (10) and a folded state in which a gap is formed between the scraping portion (12b) and the side surfaces (10d) of the alley (10). The outer scraping portion (12b) is configured to move to the unfolded state when the scraper (12) is driven in a forward direction on the alley (10) and to the folded state when it is driven in a rearward direction on the alley (10). The outer scraping portion (12b) reaches the unfolded state when it has been driven from the rear end (10a) of the alley (10) to a first position (p1) in the alley (10). The manure scraping device comprises a second scraper (13) configured to move and push manure in a forward direction from the rear end (10a) of the alley (10) to a second position (