Anwar Rosser, of Harewood Road, Keighley, faced Bradford and Keighley Magistrates Court this morning.
During a brief two-minute hearing, his case was sent to the crown court, where he will next appear tomorrow.
Rosser was remanded in custody.
Riley Turner was pronounced dead at Airedale General Hospital after
police were called to an incident at an address in Harewood Road at
4.40am on Sunday.