Elijah Wood has signed on to star in FX’s adaptation of the quirky Australian series “Wilfred.”

Wood will star opposite Jason Gann, who co-created and starred in the original Australian version. “Wilfred” reps Wood’s first starring role in a TV pilot. Wood plays a guy who lives next door to a woman and her talking, boozy dog, played by Gann.

David Zuckerman adapted the script and exec produces along with Prospect Park’s Jeff Kwatinetz, Rich Frank and Paul Frank. Joe Connor and Ken Conner of Australia’s Renegade are also exec producers. Production on the pilot, helmed by Randall Einhorn, starts this summer.

Wood, whose credits include “The Lord of the Rings” and “Eternal Sunshine of the Spotless Mind,” will next appear in this fall’s “The Romantics,” opposite Katie Holmes, Josh Duhamel and Anna Paquin.Wood will also lend his voice to “Happy Feet 2,” having appeared in the original “Happy Feet.”

Wood has appeared in telepics such as “Oliver Twist” and “Dayo,” and voiced characters on “King of the Hill,” “Family Guy” and “American Dad.” He provided the first “dancey dance” on “Yo Gabba Gabba,” and guested on “Frasier” and “Homicide.”

“Wilfred” comes as FX continues to expand its comedy imprint. The net’s latest entry, “Louie,” was set to bow Tuesday night.

FX Prods., which is behind “Wilfred,” also produces “It’s Always Sunny in Philadelphia,” “The League,” “Archer” and “Louie.”