James Allen appeared at Teesside Magistrate's Court charged with the murders of 81-year-old Colin Dunford in Middlesbrough and 50-year-old Julie Davison in Whitby. He also faced charges of rape, false imprisonment, assault and witness intimidation.
Allen smiled throughout the hearing and spoke only to confirm his name and address. When leaving the court he gave an obscene gesture to magistrates.
James Allen, charged with the murder of two people last month, has been remanded in custody.
A man charged with the murders of a Teesside pensioner and a woman from North Yorkshire has appeared in court.
Police in North Yorkshire are appealing for information about a laptop that belonged to 50-year-old murder victim Julie Davison.