Environmentally acceptable and renewably sourced flame retardants are in demand. Recent studies have shown that the incorporation of the biopolymer lignin into a polymer can improve its ability to form a char layer upon heating to a high temperature. Char layer formation is a central component of flame-retardant activity. The covalent modification of lignin is an established technique that is being applied to the development of potential flame retardants. In this study, four novel modified lignins were prepared, and their char-forming abilities were assessed using thermogravimetric analysis. The lignin was obtained from date palm wood using a butanosolv pretreatment. The removal of the majority of the ester groups from this heavily acylated lignin was achieved via alkaline hydrolysis. The subsequent modification of the lignin involved the incorporation of an azide functional group and copper-catalysed azide–alkyne cycloaddition reactions. These reactions enabled novel organophosphorus heterocycles to be linked to the lignin. Our preliminary results suggest that the modified lignins had improved char-forming activity compared to the controls. 31P and HSQC NMR and small-molecule X-ray crystallography were used to analyse the prepared compounds and lignins.