The 23-year-old scored twice in 24 appearances whilst on loan at Grimsby Town last season, but did not play a first-team game for Barnsley.
The former Wrexham and Swindon striker told the club website: "When I heard Accrington wanted me I was delighted.
"I am looking forward to settling into training, working hard and I am happy now that the deal is done."
Find all the latest football transfers on our dedicated page.
Accrington Stanley have signed Barnsley forward Kayden Jackson for an undisclosed fee on a two-year contract.